Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
1.16.0
-
None
Description
Optional modules like Qt.charts and Qt.pdf aren't detected under debug buildVariant. QBS can't find the module. They work perfectly find under "release". I wonder if it has to do with extra "d" on the dll for debug DLL for windows?
Here's an example that doesn't work on windows:
Application { name: "app" Depends { name: "cpp" } Depends { name: "Qt.core" } Depends { name: "Qt.gui" } Depends { name: "Qt.quick" } Depends { name: "Qt.charts" } //This fails in Debug but works on windows cpp.cxxLanguageVersion: "c++17" files: [ "main.cpp", "qml/*.qml", "qml/qml.qrc" ] }
A work around is to manually add the debug dll for Qt.charts and Qt.pdf and includes directory for both, in debug buildVariant.