Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt6Widgetsd.lib dooesn't exist
Forum Update on Monday, May 27th 2025

Qt6Widgetsd.lib dooesn't exist

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 5 Posters 554 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.
  • M Offline
    M Offline
    mili
    wrote on last edited by
    #1

    I installed QT and Visual Studio QT extension ,then I create a app from official template,but I received below error:

    LNK1104 Can not open “D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgetsd.lib” QtWidgetsApplication1 C:\Users\Administrator\source\repos\QtWidgetsApplication1\LINK 1
    Then I found the folder really don't have these files,there are only .prl not .lib
    I tried to seek for help on google,but no answer there.
    Must I resinstall QT?

    JonBJ 1 Reply Last reply
    0
    • M mili

      I installed QT and Visual Studio QT extension ,then I create a app from official template,but I received below error:

      LNK1104 Can not open “D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgetsd.lib” QtWidgetsApplication1 C:\Users\Administrator\source\repos\QtWidgetsApplication1\LINK 1
      Then I found the folder really don't have these files,there are only .prl not .lib
      I tried to seek for help on google,but no answer there.
      Must I resinstall QT?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @mili
      The path you show refers to Qt Design Studio. You say you "installed QT and Visual Studio QT extension". That is for Qt widgets applications, not for Qt Design Studio.

      • What did you install from where?
      • Do you really want Qt Design Studio?
      • If not, isn't the example or official template you picked for Qt Design Studio?

      Unless any expert tells me the Qt widgets stuff uses a path like QtDesignStudio\qt6_design_studio_reduced_version and I am barking up the wrong tree trying to guess to help?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tim.Jenssen
        wrote on last edited by
        #3

        the found Qt "qt6_design_studio_reduced_version" is just the QML runtime environment for projects opened in Qt Design Studio

        It has reduced in the name because we strip all the C++ developer files from it. So the question is why Visual Studio extension founds that Qt
        It should use a Qt from a path like this: "C:\Qt_online\6.7.3\msvc2022_64" - you get it if you select the necessary Qt in the Qt online installer.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Karsten Heimrich
          wrote on last edited by
          #4

          In VS, please go to "Extension > Qt VS Tools" and click "Qt Versions". This will open a settings page that let's you choose between installed Qt versions. Make sure the Qt version shipped with QtDesignStudio is not set as the default one, if so, select a different version. Now you can create a new app with the Qt VS templates that should work.

          You can find the Qt VS Tools documentation here if you need further assistance: Qt VS Tools Documenation
          I've also created a task from your report, since the Qt VS Tools extension should omit the stripped Qt version when using the autodetect feature: QTVSADDINBUG-1258

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Karsten Heimrich
            wrote on last edited by
            #5

            Can you please explain how you added the Qt version? Inside the Qt versions dialog, did point the path directly to the qmake version found in D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin (using the button [...] next to the location field)?

            jsulmJ 1 Reply Last reply
            0
            • K Karsten Heimrich

              Can you please explain how you added the Qt version? Inside the Qt versions dialog, did point the path directly to the qmake version found in D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin (using the button [...] next to the location field)?

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

              @Karsten-Heimrich said in Qt6Widgetsd.lib dooesn't exist:

              qmake version found in D:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin

              This is wrong.
              You need to select qmake from Qt version you installed. Did you install any Qt version?

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

              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