VS Add-in: No modules available



  • Hello,

    I built Qt 5.8.0 from the opensource package with VS2013.
    The source root is qtsrc.
    I ran ..\configure from qtsrc\build_tmp (separate dir to not touch the root files) with -prefix <fullpath>\qtsrc\build_dev.

    Now I want to "Add New Qt Version" with the Qt5 Visual Studio Add-in 1.2.5.
    If I specify qtsrc\build_dev, it accepts but no modules are available (selectable).
    If I specify qtsrc\build_tmp\qtbase, it doesn't accept: "... qtsrc\build_tmp\qtbase\mkspecs\win32-msvc2013\qmake.conf not found"

    How do I specify a version in the Add-in correctly?

    After nmake + nmake install I have these files:

    qtsrc\build_tmp:

    qtbase
      bin
        Qt5Cored.dll
        ...
      config.tests
      doc
      examples
      include
      lib
        Qt5Cored.dll
        Qt5Cored.lib
        ...
      mkspecs
      plugins
      qmake
      src
      tests
      tools
    qtcharts
      bin
        Qt5Chartsd.dll
      examples
      include
      lib
        Qt5Chartsd.dll
        Qt5Chartsd.lib
        ...
      mkspecs
      src
      tests
    ...
    

    qtsrc\build_dev:

    bin
      assistant.exe
      Qt5Cored.dll
      Qt5Cored.pdb
      Qt5Chartsd.dll
      Qt5Chartsd.pdb
      ...
    doc
    include
    lib
      Qt5Chartsd.lib
      Qt5Cored.lib
      ...
    mkspecs
    phrasebooks
    plugins
    

    Thank you!



  • What I found with Process Monitor is that the Add-in queries these files when opening the Qt Project Settings:

    22:51:43,3166482	devenv.exe	1696	QueryOpen	D:\Programming\Libraries\Qt\build_dev\lib\Qt5Core.lib	NAME NOT FOUND	
    22:51:43,3192374	devenv.exe	1696	QueryOpen	D:\Programming\Libraries\Qt\build_dev\lib\Qt5Gui.lib	NAME NOT FOUND	
    ...
    

    It seems it looks for the release files, but why?
    (I created a new Qt Application and the project configuration is "Debug")


  • Moderators

    @qtacc32 You can build for both: release and debug, then it should work (check configure parameters to see how).



  • @jsulm
    Yep, right.
    It's just that normally I have separate debug and release builds with different configurations also.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.