![]() Registered Member ![]()
|
How do I install Krita on Mac OS X?
I tried to install kwindowsystem, but it doesn't work. The following error occured. Other dependencies are already installed. ************************* [ 6%] Built target ext_extra_cmake_modules [ 6%] Performing configure step for 'ext_karchive' -- CMake Warning at /Users/user/Desktop/krita/i/share/ECM/modules/ECMQueryQmake.cmake:22 (message): Failed call: qmake-qt5 -query "QT_INSTALL_PREFIX" Call Stack (most recent call first): /Users/user/Desktop/krita/i/share/ECM/kde-modules/KDEInstallDirs.cmake:431 (query_qmake) CMakeLists.txt:13 (include) CMake Error at /Users/user/Desktop/krita/i/share/ECM/modules/ECMQueryQmake.cmake:23 (message): QMake call failed: No such file or directory Call Stack (most recent call first): /Users/user/Desktop/krita/i/share/ECM/kde-modules/KDEInstallDirs.cmake:431 (query_qmake) CMakeLists.txt:13 (include) -- Configuring incomplete, errors occurred! See also "/Users/user/Desktop/krita/b/ext_frameworks/ext_karchive-prefix/src/ext_karchive-build/CMakeFiles/CMakeOutput.log". make[3]: *** [ext_frameworks/ext_karchive-prefix/src/ext_karchive-stamp/ext_karchive-configure] Error 1 make[2]: *** [ext_frameworks/CMakeFiles/ext_karchive.dir/all] Error 2 make[1]: *** [ext_frameworks/CMakeFiles/ext_kwindowsystem.dir/rule] Error 2 make: *** [ext_kwindowsystem] Error 2 |
![]() KDE Developer ![]()
|
That sounds like cmake cannot find qmake, so try to add /Users/user/Desktop/krita/i/bin to the path.
|
![]() Registered Member ![]()
|
Thank you for your advice ! I checked qmake. Then I found contention between qmake which I installed and Qt creater. So I uninstalled Qt creater and it worked well ! |
![]() KDE Developer ![]()
|
If you want to work on Krita, you probably want to have Qt Creator back, but if you make sure the right qmake is first in the path, or pass -DQT_QMAKE_EXECUTABLE=/path/to/the/right/qmake to the cmake command, cmake won't be confused.
|
![]() Registered Member ![]()
|
I just tried to build krita on mac recently and came across the same problem.
Here's the quick temporary solution that solved it for me: If ext_qt was installed correctly, you should have a file:
Go to this directory and create a copy named "qmake-qt5":
Now return to your .../b/ directory and retry building the dependency:
It should build. Extra details to help fix the issue: Looking at the file (that was throwing the error):
It seems that it is looking for a file with the name: "qmake-qt5". When I installed the qt dependency following the readme.md in the 3rdparty folder, and checked for qmake in .../i/bin/, it was called: "qmake". This looked like a naming issue may be the problem, so I created a copy of "qmake" and called it "qmake-qt5". Both residing in the .../i/bin/ directory. After this, running the build code in the docs:
Seemed to work. I don't know how difficult it would be to change this name, or whether it would impact other OS's, as I'm not that familiar with cmake. But I'll leave this as a temporary solution. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]