LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   using cmake: "could not find qtglobal header". Issue with qt4? (https://www.linuxquestions.org/questions/linux-newbie-8/using-cmake-could-not-find-qtglobal-header-issue-with-qt4-697372/)

perturbed 01-14-2009 08:03 PM

using cmake: "could not find qtglobal header". Issue with qt4?
 
hi folks,

I'm trying to install a GPS program called QLandKarte. To do so, I've been told to use ccmake. When I do this, I get "CMAKE_BACKWARDS_COMPATIBILITY: For backwards compatibility, what version of CMake commands and syntax should this version of .. (can't read the rest)". It specifies that my current version of cmake is 2.4, patch 5. If I type 'c' (configure) I get "CMake Error: Could NOT find QtGlobal header". (Using 'apt-get install cmake' I apparently have the latest version of cmake)

1. Research implies the problem may be that I've incorrectly installed the qt4 set of packages. Below is the list of qt packages I've got (using dpkg -l | grep "qt"). I've tried installing/updating any qt4 package I can lie my hands on, to no avail.

2. Another theory is that this has to do with bashrc and my $PATH. Any advice on how I should amend my path?

any help would be greatly appreciated. Thanks.

Paul


list of qt packages:

ii libavahi-qt3-1 0.6.16-3etch2 Avahi Qt3 integration library
ii libdbus-qt-1-1c2 0.62.git.20060814-2 simple interprocess messaging system (Qt-bas
ii libqt3-mt 3.3.7-4etch2 Qt GUI Library (Threaded runtime version), V
ii libqt3-mt-sqlite 3.3.7-4etch2 SQLite database driver for Qt3 (Threaded)
rc libqt4-assistant 4.4.3-1 Qt 4 assistant module
ii libqt4-core 4.2.1-2+etch1 Qt 4 core non-GUI functionality runtime libr
ii libqt4-dbg 4.4.3-1 Qt 4 library debugging symbols
ii libqt4-dbus 4.4.3-1 Qt 4 D-Bus module
ii libqt4-designer 4.4.3-1 Qt 4 designer module
rc libqt4-gui 4.2.1-2+etch1 Qt 4 core GUI functionality runtime library
ii libqt4-network 4.4.3-1 Qt 4 network module
rc libqt4-opengl 4.4.3-1 Qt 4 OpenGL module
rc libqt4-qt3support 4.2.1-2+etch1 Qt 3 compatibility library for Qt 4
ii libqt4-script 4.4.3-1 Qt 4 script module
ii libqt4-sql 4.2.1-2+etch1 Qt 4 SQL database module
ii libqt4-svg 4.4.3-1 Qt 4 SVG module
ii libqt4-test 4.4.3-1 Qt 4 test module
ii libqt4-xml 4.4.3-1 Qt 4 XML module
ii libqtcore4 4.4.3-1 Qt 4 core module
ii libqtgui4 4.4.3-1 Qt 4 GUI module
rc libqthreads-12 1.6.8-6 QuickThreads library for Guile
rc qt3-dev-tools-embedded 3.3.7-4etch2 Tools to develop embedded Qt applications
rc qt4-dev-tools 4.2.1-2+etch1 Qt 4 development tools
ii qt4-qmake 4.4.3-1 Qt 4 qmake Makefile generator tool
rc qt4-qtconfig 4.2.1-2+etch1 Qt 4 configuration tool

knudfl 01-20-2009 01:38 PM

Welcome to Linux Questions.

Assume QLandkarteGT.2009.01.01 or similar.

1) You cannot be without a build directory :
http://www.qlandkarte.org/index.php?...&id=3&Itemid=4

2) Missing package for compiling with qt4 :

'libqt4-dev' ( version 4.3.x is required )
....

P.S.: There is a package 'qlandcarte' for Ubuntu and Debian.
(version 0.7.3 )
....


All times are GMT -5. The time now is 10:13 PM.