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. Dependent Qt6Widgetsd.lib does not exist

Dependent Qt6Widgetsd.lib does not exist

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 5 Posters 4.5k 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.
  • C Offline
    C Offline
    cdtje
    wrote on 2 Feb 2023, 12:18 last edited by
    #1

    Hello,

    I am quite new to Qt, and I am trying to build my first application. However I got the error "dependent Qt6Widgetsd.lib does not exist." I already searched on the Qt Forum and on Google, but couldn't find any topic about this.

    Does anyone knows how to fix this error?

    I am using Qt Creator 9.0.1 using the educational license. The target system to build this project is Windows x64.

    Thanks in advance!

    cdtje

    J J 2 Replies Last reply 2 Feb 2023, 12:18
    0
    • C cdtje
      2 Feb 2023, 12:18

      Hello,

      I am quite new to Qt, and I am trying to build my first application. However I got the error "dependent Qt6Widgetsd.lib does not exist." I already searched on the Qt Forum and on Google, but couldn't find any topic about this.

      Does anyone knows how to fix this error?

      I am using Qt Creator 9.0.1 using the educational license. The target system to build this project is Windows x64.

      Thanks in advance!

      cdtje

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 2 Feb 2023, 12:18 last edited by
      #2

      @cdtje Which Qt version did you install and how?

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

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cdtje
        wrote on 6 Feb 2023, 15:16 last edited by
        #3

        @jsulm Qt 6.4.1 installed using the unified qt installer for windows. I believe I used the default options for the installation.

        1 Reply Last reply
        0
        • C cdtje
          2 Feb 2023, 12:18

          Hello,

          I am quite new to Qt, and I am trying to build my first application. However I got the error "dependent Qt6Widgetsd.lib does not exist." I already searched on the Qt Forum and on Google, but couldn't find any topic about this.

          Does anyone knows how to fix this error?

          I am using Qt Creator 9.0.1 using the educational license. The target system to build this project is Windows x64.

          Thanks in advance!

          cdtje

          J Offline
          J Offline
          JonB
          wrote on 6 Feb 2023, 16:35 last edited by
          #4

          @cdtje said in Dependent Qt6Widgetsd.lib does not exist:

          Qt6Widgetsd.lib

          I will just say that the d on the name means this is a library file for debug, I don't know whether the installer has any option to enable installing debug versions of libraries? One would have thought it would install them anyway so an option may not exist.

          C 1 Reply Last reply 6 Feb 2023, 17:04
          0
          • J JonB
            6 Feb 2023, 16:35

            @cdtje said in Dependent Qt6Widgetsd.lib does not exist:

            Qt6Widgetsd.lib

            I will just say that the d on the name means this is a library file for debug, I don't know whether the installer has any option to enable installing debug versions of libraries? One would have thought it would install them anyway so an option may not exist.

            C Offline
            C Offline
            cdtje
            wrote on 6 Feb 2023, 17:04 last edited by
            #5

            @JonB I know that the "d" is for debug, but the normal without the "d" also doesn't exist. In the installer there is no option to choose between libs. When building the release version I got the warning

            dependent 'C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgets.lib' does not exist.
            

            So without the "d". What am I doing wrong?

            J 1 Reply Last reply 7 Feb 2023, 09:17
            0
            • C cdtje
              6 Feb 2023, 17:04

              @JonB I know that the "d" is for debug, but the normal without the "d" also doesn't exist. In the installer there is no option to choose between libs. When building the release version I got the warning

              dependent 'C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgets.lib' does not exist.
              

              So without the "d". What am I doing wrong?

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 7 Feb 2023, 09:17 last edited by
              #6

              @cdtje said in Dependent Qt6Widgetsd.lib does not exist:

              C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgets.lib

              I have no idea why it's trying to find the lib in that folder.
              Can you show your *.pro or CMakeLists.txt file?

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

              C 1 Reply Last reply 7 Feb 2023, 11:23
              0
              • J jsulm
                7 Feb 2023, 09:17

                @cdtje said in Dependent Qt6Widgetsd.lib does not exist:

                C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\lib\Qt6Widgets.lib

                I have no idea why it's trying to find the lib in that folder.
                Can you show your *.pro or CMakeLists.txt file?

                C Offline
                C Offline
                cdtje
                wrote on 7 Feb 2023, 11:23 last edited by
                #7

                @jsulm and @JonB thnx for the replies. I reinstalled everything, and apparantly it was in the license. I changed something and now everything is working

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mysondrink
                  wrote on 23 May 2023, 06:18 last edited by mysondrink
                  #8

                  hi,did u find Dependent Qt6Widgetsd.lib when u reinstalled qt?
                  the same problem,and i cant find Dependent Dependent Qt6Widgetsd.lib

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    paviashok
                    wrote on 28 Oct 2023, 06:18 last edited by
                    #9

                    I had the same problem and these were the trials that unblocked me :

                    • Check if you have this file in the mentioned location. I had them as .prl and not as .lib . This is due to the dynamically linked libraries instead of the static ones. If you are facing the same issue, follow this page : https://doc.qt.io/qt-5/windows-deployment.html. This creates the .dlls instead of .prls.
                    • The other issue I had was the mismatch of Visual Studio version.
                      I uninstalled Qt after I got the libraries to get a clean start. With the updated MingW version, I did not face any issue.
                      @mysondrink try this if you are still stuck.
                    1 Reply Last reply
                    1
                    • Pl45m4P Pl45m4 referenced this topic on 25 Aug 2024, 05:10

                    • Login

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