qt-copy compilation problem on x86_64

Andras Mantia amantia at kde.org
Wed Sep 20 11:52:57 BST 2006


On Wednesday 20 September 2006 13:51, Simon Hausmann wrote:
> The -L/usr/lib is the culprit.

This is what I wrote in the original mail. ;-)

> Can you paste your 
> $qt_build_directory/.qmake.cache 

I buold Qt in the srcdir, but I don't think this matters here. The 
content of .qmake.cache:
CONFIG +=  debug shared dll largefile stl sse dylib create_prl link_prl 
depend_includepath fix_output_dirs QTDIR_build
QT_SOURCE_TREE = $$quote(/data/development/sources/kde-trunk/qt-copy)
QT_BUILD_TREE = $$quote(/data/development/sources/kde-trunk/qt-copy)
QT_BUILD_PARTS = libs tools examples
QMAKE_ABSOLUTE_SOURCE_ROOT = $$QT_SOURCE_TREE
QMAKE_MOC_SRC    = $$QT_BUILD_TREE/src/moc

#local paths that cannot be queried from the QT_INSTALL_* properties 
while building QTDIR
QMAKE_MOC        = $$QT_BUILD_TREE/bin/moc
QMAKE_UIC        = $$QT_BUILD_TREE/bin/uic
QMAKE_UIC3       = $$QT_BUILD_TREE/bin/uic3
QMAKE_RCC        = $$QT_BUILD_TREE/bin/rcc
QMAKE_QDBUSXML2CPP = $$QT_BUILD_TREE/bin/qdbusxml2cpp
QMAKE_INCDIR_QT  = $$QT_BUILD_TREE/include
QMAKE_LIBDIR_QT  = $$QT_BUILD_TREE/lib

QT_CFLAGS_PSQL   = -I/usr/include/pgsql
QT_LFLAGS_PSQL   = -L/usr/lib64
QT_CFLAGS_MYSQL   = -I/usr/include/mysql
QT_LFLAGS_MYSQL   = -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread 
-lcrypt -lnsl -lm -lpthread
QMAKESPEC = $$QT_BUILD_TREE/mkspecs/linux-g++-64
styles += cde mac motif plastique cleanlooks windows
decorations += default windows styled
gfx-drivers += linuxfb
kbd-drivers += tty
mouse-drivers += pc
CONFIG += use_libmysqlclient_r
QT_CFLAGS_DBUS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
QT_LIBS_DBUS = -L/usr/lib -ldbus-1
QMAKE_LIBS_X11 = -lfreetype -lfontconfig $$QMAKE_LIBS_X11
QT_CFLAGS_GLIB = -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib64/glib-2.0/include
QT_LIBS_GLIB = -L/opt/gnome/lib64 -lglib-2.0
OBJECTS_DIR = .obj/debug-shared
MOC_DIR = .moc/debug-shared
RCC_DIR = .rcc/debug-shared
UI_DIR = .uic/debug-shared
QMAKE_LIBS_X11 = -lXinerama $$QMAKE_LIBS_X11
QMAKE_LIBS_X11 = -lXcursor $$QMAKE_LIBS_X11
QMAKE_LIBS_X11 = -lXfixes $$QMAKE_LIBS_X11
QMAKE_LIBS_X11 = -lXrandr $$QMAKE_LIBS_X11
QMAKE_LIBS_X11 = -lXrender $$QMAKE_LIBS_X11
QMAKE_LIBS_X11 = -lXi $$QMAKE_LIBS_X11
QMAKE_RPATHDIR += "/data2/kde4/qt4/lib"
QMAKE_CFLAGS += -fno-exceptions
QMAKE_CXXFLAGS += -fno-exceptions
QMAKE_LFLAGS += -fno-exceptions
sql-drivers =
sql-plugins =  mysql psql sqlite



> as well as your configure line you 
> used for Qt?

It was the "recommended" line for README.qt-copy (and what I used 
before, I only have this problem since my last update):

./configure -qt-gif -no-exceptions -debug -no-separate-debug-info -fast    
-qdbus -prefix $QTDIR

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060920/56cc7e81/attachment.sig>


More information about the kde-core-devel mailing list