Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.7.1, 5.9.4
-
None
-
Qt 5.7
Visual Studio 2015
Description
See the attached sample project, which build correctly with qmake.
When creating a VS project with qmake -spec win32-msvc2015 -tp vc -r, the dependencies are not preserved (MyApp doesn't depend on MyLib). This breaks the build, because MyApp may get built (and linked) before MyLib is built.
Correcting the LIBS line in MyLib.pri to read -lMyLib (instead of -lmylib) generates correct dependencies.
Attachments
Issue Links
- duplicates
-
QTBUG-45706 qmake -r ignores SUBDIRS' .depends
-
- Open
-