Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. VS Add-in: No modules available
Forum Updated to NodeBB v4.3 + New Features

VS Add-in: No modules available

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qtacc32
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtacc32
      wrote on last edited by
      #2

      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")

      jsulmJ 1 Reply Last reply
      0
      • Q qtacc32

        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")

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        2
        • Q Offline
          Q Offline
          qtacc32
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved