Dependent Qt6Widgetsd.lib does not exist
-
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
-
@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. -
@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?
-
@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? -
hi,did u find Dependent Qt6Widgetsd.lib when u reinstalled qt?
the same problem,and i cant find Dependent Dependent Qt6Widgetsd.lib -
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.
-