Results 1 to 1 of 1

Thread: trying to compile Calligra

  1. #1
    Join Date
    Jun 2015
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: trying to compile Calligra

    and it fails, with fatal error: QtCore/QtGlobal (line 15 in the herebelow code)

    hours of googling didn't succeed.....perhaps someone knows... thanks


    Qt Code:
    1. leleu@leleu-portable:~/kde4/build/calligra > cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo
    2. -- Release build: TRUE
    3. -- --------------------------------------------------------------------------
    4. -- Configured with product set "ALL"
    5. -- --------------------------------------------------------------------------
    6. -- Found Qt-Version 4.8.6 (using /usr/bin/qmake-qt4)
    7. Change Dir: /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp
    8.  
    9. Run Build Command:/usr/bin/make "cmTryCompileExec469520956/fast"
    10. /usr/bin/make -f CMakeFiles/cmTryCompileExec469520956.dir/build.make CMakeFiles/cmTryCompileExec469520956.dir/build
    11. make[1]: entrant dans le répertoire « /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp »
    12. /usr/bin/cmake -E cmake_progress_report /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp/CMakeFiles 1
    13. Building CXX object CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o
    14. /usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/home/leleu/Qt/5.4/gcc_64/include -o CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o -c /home/leleu/kde4/src/calligra/CMakeTmp/check_qt_application.cpp
    15. /home/leleu/kde4/src/calligra/CMakeTmp/check_qt_application.cpp:1:27: fatal error: QtCore/QtGlobal: Aucun fichier ou dossier de ce type
    16. #include <QtCore/QtGlobal>
    17. ^
    18. compilation terminated.
    19. make[1]: *** [CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o] Erreur 1
    20. make[1]: quittant le répertoire « /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp »
    21. make: *** [cmTryCompileExec469520956/fast] Erreur 2
    22.  
    23. CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):
    24. Unable to compile a basic Qt application. Qt has not been found correctly.
    25. Call Stack (most recent call first):
    26. /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
    27. CMakeLists.txt:259 (find_package)
    28.  
    29.  
    30. -- Configuring incomplete, errors occurred!
    31. See also "/home/leleu/kde4/src/calligra/CMakeFiles/CMakeOutput.log".
    32. See also "/home/leleu/kde4/src/calligra/CMakeFiles/CMakeError.log".
    33. leleu@leleu-portable:~/kde4/build/calligra >
    To copy to clipboard, switch view to plain text mode 

    and it fails, with fatal error: QtCore/QtGlobal (line 15 in the herebelow code)

    hours of googling didn't succeed.....perhaps someone knows... thanks


    Qt Code:
    1. leleu@leleu-portable:~/kde4/build/calligra > cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo
    2. -- Release build: TRUE
    3. -- --------------------------------------------------------------------------
    4. -- Configured with product set "ALL"
    5. -- --------------------------------------------------------------------------
    6. -- Found Qt-Version 4.8.6 (using /usr/bin/qmake-qt4)
    7. Change Dir: /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp
    8.  
    9. Run Build Command:/usr/bin/make "cmTryCompileExec469520956/fast"
    10. /usr/bin/make -f CMakeFiles/cmTryCompileExec469520956.dir/build.make CMakeFiles/cmTryCompileExec469520956.dir/build
    11. make[1]: entrant dans le répertoire « /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp »
    12. /usr/bin/cmake -E cmake_progress_report /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp/CMakeFiles 1
    13. Building CXX object CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o
    14. /usr/bin/c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/home/leleu/Qt/5.4/gcc_64/include -o CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o -c /home/leleu/kde4/src/calligra/CMakeTmp/check_qt_application.cpp
    15. /home/leleu/kde4/src/calligra/CMakeTmp/check_qt_application.cpp:1:27: fatal error: QtCore/QtGlobal: Aucun fichier ou dossier de ce type
    16. #include <QtCore/QtGlobal>
    17. ^
    18. compilation terminated.
    19. make[1]: *** [CMakeFiles/cmTryCompileExec469520956.dir/check_qt_application.cpp.o] Erreur 1
    20. make[1]: quittant le répertoire « /home/leleu/kde4/src/calligra/CMakeFiles/CMakeTmp »
    21. make: *** [cmTryCompileExec469520956/fast] Erreur 2
    22.  
    23. CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):
    24. Unable to compile a basic Qt application. Qt has not been found correctly.
    25. Call Stack (most recent call first):
    26. /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
    27. CMakeLists.txt:259 (find_package)
    28.  
    29.  
    30. -- Configuring incomplete, errors occurred!
    31. See also "/home/leleu/kde4/src/calligra/CMakeFiles/CMakeOutput.log".
    32. See also "/home/leleu/kde4/src/calligra/CMakeFiles/CMakeError.log".
    33. leleu@leleu-portable:~/kde4/build/calligra >
    To copy to clipboard, switch view to plain text mode 


    Added after 1 23 minutes:


    some more informations

    leleu@leleu-portable:~ > echo $PATH
    /home/leleu/Qt/5.4/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    leleu@leleu-portable:~ >

    /usr/include/qt4/QtCore/QtGlobal (21 bytes Wed May 27 14:53:49 2015)
    Last edited by robert leleu; 24th June 2015 at 14:12.

Similar Threads

  1. How to compile with o2 and ob1
    By freiza in forum Newbie
    Replies: 3
    Last Post: 1st March 2015, 14:28
  2. [Mac] Compile Qt
    By Tibo6 in forum Installation and Deployment
    Replies: 12
    Last Post: 3rd December 2009, 21:52
  3. Compile 4.4.0
    By LordQt in forum Installation and Deployment
    Replies: 18
    Last Post: 29th May 2008, 14:43
  4. how to compile Qt4.3.2???
    By coder1985 in forum Installation and Deployment
    Replies: 9
    Last Post: 11th December 2007, 20:09
  5. qwt won't compile
    By sarefo in forum Qwt
    Replies: 4
    Last Post: 30th October 2007, 17:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.