LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2009, 09:03 PM   #1
perturbed
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 01-20-2009, 02:38 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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 )
....

Last edited by knudfl; 01-20-2009 at 04:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
in which header file the "struct omap_dev" can find in 2.6.22 hallimanju Linux - Software 1 06-02-2008 08:25 AM
"qmake not found!" -- Qt-4.3.4 is installed, so what must I set to point cmake to it? analgesic Slackware 10 03-12-2008 10:02 PM
Compiling stellarium: cmake returns "CURL was not found" charlesreid1 Linux - Software 2 10-23-2007 01:02 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 01:42 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration