freecycle-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freecycle-users] QT Include (freecycle-SVN-20070103)


From: Esben Stien
Subject: [Freecycle-users] QT Include (freecycle-SVN-20070103)
Date: Wed, 03 Jan 2007 01:39:23 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.92 (gnu/linux)

All the best for the new year;). 

Trying to compile latest freecycle, but it fails to detect the QT
include path. Here's excerpts from /usr/lib/pkgconfig/qt-mt.pc:

prefix=/usr
includedir=${prefix}/include/qt

This means include directory for QT is /usr/include/qt, but here's
what happens when I run make:

g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DHAS_JACK -DHAS_ALSA 
-DHAS_LIBINSTPATCH -DHAS_AUBIO -DHAS_SOUNDTOUCH -DHAS_MIDI -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT 
-I/usr/share/qt/mkspecs/default -I. -I../src -I/usr/include 
-I/usr/local/include -I/opt/gnome/include/glib-2.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/include/qt -o freecycle.o freecycle.cpp
In file included from freecycle.cpp:21:
freecycle.h:24:25: error: qmainwindow.h: No such file or directory

It's looking in /include/qt for some reason. 

It works finding qt when I symlink /usr/include to /include, but then
it suddenly can't find glib.h, so I guess there is something wrong
with how it reads pkgconfig data.

Any pointers how to proceed?. 

-- 
Esben Stien is address@hidden     s      a             
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e 
           jid:b0ef@    n     n




reply via email to

[Prev in Thread] Current Thread [Next in Thread]