hwabrown.blogg.se

Qt platform plugin windows
Qt platform plugin windows





qt platform plugin windows

If you start a prompt with envirenmentvariables set correctly, it deploys to the current directory. The application qtbase/bin/windeployqt.exe deploys automatically your application. Add the following to your app's CMakeLists.txt # assuming your target's name is appĬOMMAND $/././$:debug/>Qt6/plugins/platforms/ If you are using CMakeLists you may want to give this a try. If I do that on my own, will update the answer. folder (otherwise the other one) into the platforms folder in the same folder, where your executable and the Qt libraries are located (if there's no such folder, create on your own). If the d suffix was present, copy the content of the. installed/圆4-windows/debug/Qt6/plugins/platforms installed/圆4-windows/Qt6/plugins/platforms Pay attention to whether or not the library file has the d suffix in its name, i.e.

qt platform plugin windows

In that folder, you'll find some Qt libraries, like Qt6Core.dll. In your build folder, find the folder where the final executable is located.

qt platform plugin windows

Had trouble for some hours until found the solution. Talking mainly about the Windows platformįaced the same issue when trying to debug the app build using the vcpkg installed Qt library, while having my app build using cmake.







Qt platform plugin windows