Visual Studio doesn't find Qt static source for debug mode

Viewed 31

I have compiled the static source of qt 6.3.1 with Visual Studio 2022 and the following command:

configure.bat -static -debug-and-release -platform win32-msvc -opensource -confirm-license -prefix "D:\Qt\Static\Release"

When i compile any project under release it work correctly.

When i try compiling under debug it fails and prompt: cannot open file 'D:\Qt\Static\Release\plugins\styles\qwindowsvistastyled.lib'

I dont have any qwindowsvistastyled.lib in this folder, i do have it on:

D:\Qt\Static\qt-everywhere-src-6.3.1\qtbase\plugins\styles

I tried adding these config under the Qt VS Tools plugin:

pic

And modified the project settings to use it under debug: enter image description here

But it continues searching for qwindowsvistastyled.lib in the

'D:\Qt\Static\Release\plugins\styles\qwindowsvistastyled.lib' folder

I tried cleaning project, rebuilding, restarting the editor, what I'm missing?

0 Answers
Related