[Craft] [Bug 386776] New: using QtSDK doesn't work on Windows
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sun Nov 12 15:10:35 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=386776
Bug ID: 386776
Summary: using QtSDK doesn't work on Windows
Product: Craft
Version: master
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Core
Assignee: vonreth at kde.org
Reporter: uwestoehr at web.de
CC: kde-windows at kde.org
Target Milestone: ---
I set up Craft from scratch following the guidelines in
https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows
Since I have already Qt 5.9l.2 installed because I need it for other non-KDE
project, I want to use the prebuild Qt libraries from this installation.
In my craftsettings.ini and have therefore now this:
[QtSDK]
## For advanced users only
## Whether to use prebuild Qt binaries.
Enabled = True
## The path to the Qt sdk.
Path = C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin
## The version of Qt.
Version = 5.9.2
## The compiler version, if you are not sure what to use, have a look into the
derectory set in QtSDK/Path.
## The compiler must be of the same type as General/KDECOMPILER.
## If you are using mingw please make sure you have installed the mingw using
the Qt installer.
Compiler = msvc2015_64
But when I now use e.g. the command
craft karchive
I get this error:
Could not find a package configuration file provided by "Qt5" (requested
version 5.7.0) with any of the following names:
Qt5Config.cmake
qt5-config.cmake
Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
to a directory containing one of the above files. If "Qt5" provides a
separate development package or SDK, be sure it has been installed.
But in the path I specified:
C:\Qt\Qt5.9.2\5.9.2\msvc2015_64\bin
there is the Qt5Config.cmake
So either I made a mistake or setting the Qt doesn't work as it should.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list