View previous topic :: View next topic |
Author |
Message |
widlokm Tux's lil' helper
Joined: 22 Sep 2007 Posts: 75 Location: Poland
|
Posted: Thu Apr 12, 2018 1:02 pm Post subject: [Solved] Qt4 cmake module - problems with freecad |
|
|
Hello,
I'm trying to do a local build of freecad-0.17 on my PC and I'm completely lost with cmake Qt configuration.
I have qt:4 installed and I am trying to configure freecad with ccmake to use Qt4. The problem is that ccmake complains about Qt4 libraries not found (function find_package(Qt4) in CMakeLists.txt). However when I prepare ebuild for stable freecad-0.17 in local portage overlay (that also use Qt4) it builds OK.
What "magic" ebuilds use to point cmake to right Qt version? Directory /usr/lib/cmake/Qt5 exist, cmake/Qt4 does not, but this does not stop ebuild from working correctly. Ebuild uses "cmake-utils_src_configure" function, is this the key? And how can I do it myself?
Thank You,
Michael Widlok
Last edited by widlokm on Mon Apr 16, 2018 6:55 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30908 Location: here
|
|
Back to top |
|
|
widlokm Tux's lil' helper
Joined: 22 Sep 2007 Posts: 75 Location: Poland
|
Posted: Mon Apr 16, 2018 6:59 am Post subject: |
|
|
Thank You fedeliallalinea, it worked.
What surprise mi most is that I've spent some time on looking for the solution, while never fount this article... |
|
Back to top |
|
|
|