qt5: don't use 'HEADERS' variable in library makefiles

The 'HEADERS' variable is currently only supported for applications with
qmake project files.

Fixes #3183
This commit is contained in:
Christian Prochaska 2019-02-22 13:29:22 +01:00 committed by Christian Helmuth
parent e679d55f67
commit 23220a98b9
2 changed files with 4 additions and 6 deletions

View File

@ -2,9 +2,8 @@ include $(call select_from_repositories,lib/import/import-qt5_qnitpickerviewwidg
SHARED_LIB = yes SHARED_LIB = yes
SRC_CC = qnitpickerviewwidget.cpp SRC_CC = qnitpickerviewwidget.cpp \
moc_qnitpickerviewwidget.cpp
HEADERS += qnitpickerviewwidget.h
vpath %.h $(call select_from_repositories,include/qt5/qnitpickerviewwidget) vpath %.h $(call select_from_repositories,include/qt5/qnitpickerviewwidget)
vpath %.cpp $(REP_DIR)/src/lib/qt5/qnitpickerviewwidget vpath %.cpp $(REP_DIR)/src/lib/qt5/qnitpickerviewwidget

View File

@ -2,9 +2,8 @@ include $(call select_from_repositories,lib/import/import-qt5_qpluginwidget.mk)
SHARED_LIB = yes SHARED_LIB = yes
SRC_CC = qpluginwidget.cpp SRC_CC = qpluginwidget.cpp \
moc_qpluginwidget.cpp
HEADERS += qpluginwidget.h
vpath %.h $(call select_from_repositories,include/qt5/qpluginwidget) vpath %.h $(call select_from_repositories,include/qt5/qpluginwidget)
vpath %.cpp $(REP_DIR)/src/lib/qt5/qpluginwidget vpath %.cpp $(REP_DIR)/src/lib/qt5/qpluginwidget