cannot open file 'shell32.lib'
-
hi and welcome
what gui program ?
If you create a new GUI project. does it run?I assume you are on Windows?
Also are you using mingw compiler or Visual Studio ?
-
Hi and welcome to devnet,
What Qt package did you install ? The one for VS2013 or VS2015 ?
-
In the absolute, that's not the correct solution, that lib should be found automatically.
-
thanks everyone, the solution was to add this line
WIN32:LIBS += C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\um\x64\shell32.lib
in the .pro file.
I solved the problem, thanks.@Papa Hello.
I also met this problem today.I tried to find my lib from"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\um\x64",but I can not find the "shell32.lib".Then I tried to reinstall WDK10.0,but it's useless.I am still looking for a solution. ̄へ ̄
-
@SGaist plz can you tell me how to find shell.32 lib automatically??
":-1: error: LNK1104: cannot open file 'shell32.lib'"@Nethzz said in cannot open file 'shell32.lib':
@SGaist plz can you tell me how to find shell.32 lib automatically??
":-1: error: LNK1104: cannot open file 'shell32.lib'"How are you linking to it ?