Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1600

QBS can find Qt.charts or Qt.pdf in buildVariant=="debug" on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.16.0
    • Libraries: Qt
    • None
    • Windows

      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.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            pschuchardt Philip Schuchardt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes