remove QMAKE_CLEAN += -r * from project files
[staging/HomeScreen.git] / HomeScreenSimulator / HomeScreenSimulator.pro
index 9550e69..755a36b 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-QT       += core gui dbus
-
-greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
-
-TARGET = HomeScreenSimulator
 TEMPLATE = app
+TARGET = HomeScreenSimulator
+QT = widgets dbus
 
+include(../interfaces/interfaces.pri)
 
 SOURCES += \
     src/main.cpp \
@@ -27,20 +25,8 @@ SOURCES += \
 HEADERS  += \
     src/mainwindow.h
 
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
-
 FORMS    += \
     resources/mainwindow.ui
 
 OTHER_FILES += \
     README.md
-
-RESOURCES +=
-
-# remove generated files
-QMAKE_CLEAN += -r \
-    $$OUT_PWD/HomeScreenSimulator \
-    $$OUT_PWD/Makefile