# 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 = HomeScreen
TEMPLATE = app
+TARGET = HomeScreen
+QT = widgets dbus
+
+include(../interfaces/interfaces.pri)
+include(../ivi_layermanagement_api.pri)
SOURCES += \
src/main.cpp \
src/homescreencontrolinterface.h \
src/layouthandler.h
-INCLUDEPATH += $$OUT_PWD/../interfaces
-INCLUDEPATH += ../interfaces/
-
-LIBS += -L$$OUT_PWD/../interfaces -linterfaces
-
-
FORMS += \
resources/mainwindow.ui \
resources/settingswidget.ui \
export(HomeScreen.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += HomeScreen copydata
-
-# remove generated files
-QMAKE_CLEAN += -r \
- $$OUT_PWD/colorschemes \
- $$OUT_PWD/HomeScreen \
- $$OUT_PWD/Makefile