[Gammaray-interest] Configure-errors on Ubuntu 10.04 using Qt5

Volker Krause volker.krause at kdab.com
Thu Aug 30 11:27:13 CEST 2012


Hi,

what exact version of CMake are you using?

Some research here showed that anything older than 2.8.3 is generating broken 
Qt5*Config.cmake files while building Qt5 (a fix for this in Qt is being 
worked on). This could explain the errors, these files seem to be missing most 
of the paths for you.

regards,
Volker 

-- 
Volker Krause | volker.krause at kdab.com | Senior Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

On Thursday 30 August 2012 10:31:24 Matthias.Gemmer at conti-engineering.com 
wrote:
> Hi
> 
> I'm trying to compile GammaRay 1.2.50 on Ubuntu 10.04 LTS. I use CMake 2.8
> as required and Qt 5 Alpha.
> 
> Qt was configured and build as described in the README. This happend
> without errors.
> The configure options had been -prefix "PWD/qtbase" -opensource -nomake
> tests -nomake examples.
> Now Qt is just used from the build directory.
> QtWebKit was not build.
> 
> I followed the steps described in the install.txt of GammaRay.
> 
> While configuring GammaRay with CMake 2.8 following errors occurred:
> 
> -- Building GammaRay 1.2.50 in Release mode
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:49
> (include):
>   include could not find load file:
> 
>     /Qt5CoreConfigExtras.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:33 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:51
> (include):
>   include could not find load file:
> 
>     /Qt5CoreMacros.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:33 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:49
> (include):
>   include could not find load file:
> 
>     /Qt5CoreConfigExtras.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:63 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:51
> (include):
>   include could not find load file:
> 
>     /Qt5CoreMacros.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:63 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake
> :49 (include):
>   include could not find load file:
> 
>     /Qt5WidgetsConfigExtras.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:65 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at
> /home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake
> :51 (include):
>   include could not find load file:
> 
>     /Qt5WidgetsMacros.cmake
> Call Stack (most recent call first):
>   cmake/FindQt5Transitional.cmake:65 (find_package)
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at cmake/FindQt5Transitional.cmake:78 (include):
>   include could not find load file:
> 
>     /ECMQt4To5Porting.cmake
> Call Stack (most recent call first):
>   CMakeLists.txt:65 (find_package)
> 
> 
> CMake Error at core/CMakeLists.txt:129 (qt4_automoc):
>   Unknown CMake command "qt4_automoc".
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> The configure options of GammaRay were entered automatically and look like
> this:
> 
>  CMAKE_BUILD_TYPE                                               *Release
> 
>  CMAKE_INSTALL_PREFIX */home/lucid/Tool/GammaRay
>  GAMMARAY_UNKNOWN_CXX_MANGLED_N                 *OFF
>  LIB_SUFFIX                                                             *
> 
>  QT_PRIVATE_INCLUDE_DIR *QT_PRIVATE_INCLUDE_DIR-NOTFOUND
>  Qt5Concurrent_DIR
> */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Concurrent
>  Qt5Core_DIR */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Core
>  Qt5Gui_DIR */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Gui
>  Qt5PrintSupport_DIR
> */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5PrintSupport
>  Qt5Svg_DIR */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Svg
>  Qt5Test_DIR */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Test
>  Qt5Widgets_DIR */home/lucid/Tool/qt-5.0.0/qtbase/lib/cmake/Qt5Widgets
> 
> 
> Thanks
> Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3634 bytes
Desc: not available
URL: <http://mail.kdab.com/pipermail/gammaray-interest/attachments/20120830/b026d5a9/attachment.bin>


More information about the Gammaray-interest mailing list