On Friday 20 July 2007 12:40 pm, you wrote: > Here is the produced qtdirs.mk.
Attached is mine as a comparison. It would appear Ubuntu have been messing with Qt (as distros tend to do), so I would report it as a bug with them. Phil > Arve > > On 7/20/07, Phil Thompson <[EMAIL PROTECTED]> wrote: > > On Friday 20 July 2007 10:09 am, Arve Knudsen wrote: > > > Hi > > > > > > I'm having problems building the latest PyQt snapshot against the > > > > current > > > > > Qt in Ubuntu (4.3.0-2ubuntu1). The reason is configure.py isn't able to > > > figure out that Qt is installed as dynamic libraries, due to that > > > > QT_SHARED > > > > > isn't defined in the QLibraryInfo header by the looks of it. > > > > It should be set in the Makefile by qmake. See the qtdirs.mk file after > > running configure.py. > > > > Phil > > _______________________________________________ > > PyQt mailing list [email protected] > > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
############################################################################# # Makefile for building: qtdirs # Generated by qmake (2.01a) (Qt 4.3.0) on: Fri Jul 20 10:11:52 2007 # Project: qtdirs.pro # Template: app # Command: /home/phil/usr/qt-4.3.0/bin/qmake -unix -o qtdirs.mk qtdirs.pro ############################################################################# ####### Compiler, tools and options CC = gcc CXX = g++ DEFINES = -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED CFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT $(DEFINES) INCPATH = -I../../../usr/qt-4.3.0/mkspecs/linux-g++ -I. -I../../../usr/qt-4.3.0/include/QtCore -I../../../usr/qt-4.3.0/include/QtCore -I../../../usr/qt-4.3.0/include -I. -I. LINK = g++ LFLAGS = -Wl,-rpath,/home/phil/usr/qt-4.3.0/lib LIBS = $(SUBLIBS) -L/home/phil/usr/qt-4.3.0/lib -lQtCore -L/home/phil/usr/qt-4.3.0/lib -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread AR = ar cqs RANLIB = QMAKE = /home/phil/usr/qt-4.3.0/bin/qmake TAR = tar -cf COMPRESS = gzip -9f COPY = cp -f SED = sed COPY_FILE = $(COPY) COPY_DIR = $(COPY) -r INSTALL_FILE = install -m 644 -p INSTALL_DIR = $(COPY_DIR) INSTALL_PROGRAM = install -m 755 -p DEL_FILE = rm -f SYMLINK = ln -sf DEL_DIR = rmdir MOVE = mv -f CHK_DIR_EXISTS= test -d MKDIR = mkdir -p ####### Output directory OBJECTS_DIR = ./ ####### Files SOURCES = qtdirs.cpp OBJECTS = qtdirs.o DIST = ../../../usr/qt-4.3.0/mkspecs/common/g++.conf \ ../../../usr/qt-4.3.0/mkspecs/common/unix.conf \ ../../../usr/qt-4.3.0/mkspecs/common/linux.conf \ ../../../usr/qt-4.3.0/mkspecs/qconfig.pri \ ../../../usr/qt-4.3.0/mkspecs/features/qt_functions.prf \ ../../../usr/qt-4.3.0/mkspecs/features/qt_config.prf \ ../../../usr/qt-4.3.0/mkspecs/features/exclusive_builds.prf \ ../../../usr/qt-4.3.0/mkspecs/features/default_pre.prf \ ../../../usr/qt-4.3.0/mkspecs/features/release.prf \ ../../../usr/qt-4.3.0/mkspecs/features/default_post.prf \ ../../../usr/qt-4.3.0/mkspecs/features/warn_on.prf \ ../../../usr/qt-4.3.0/mkspecs/features/qt.prf \ ../../../usr/qt-4.3.0/mkspecs/features/unix/thread.prf \ ../../../usr/qt-4.3.0/mkspecs/features/moc.prf \ ../../../usr/qt-4.3.0/mkspecs/features/resources.prf \ ../../../usr/qt-4.3.0/mkspecs/features/uic.prf \ ../../../usr/qt-4.3.0/mkspecs/features/yacc.prf \ ../../../usr/qt-4.3.0/mkspecs/features/lex.prf \ qtdirs.pro QMAKE_TARGET = qtdirs DESTDIR = TARGET = qtdirs first: all ####### Implicit rules .SUFFIXES: .o .c .cpp .cc .cxx .C .cpp.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cc.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .cxx.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .C.o: $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" .c.o: $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" ####### Build rules all: qtdirs.mk $(TARGET) $(TARGET): $(OBJECTS) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) qtdirs.mk: qtdirs.pro ../../../usr/qt-4.3.0/mkspecs/linux-g++/qmake.conf ../../../usr/qt-4.3.0/mkspecs/common/g++.conf \ ../../../usr/qt-4.3.0/mkspecs/common/unix.conf \ ../../../usr/qt-4.3.0/mkspecs/common/linux.conf \ ../../../usr/qt-4.3.0/mkspecs/qconfig.pri \ ../../../usr/qt-4.3.0/mkspecs/features/qt_functions.prf \ ../../../usr/qt-4.3.0/mkspecs/features/qt_config.prf \ ../../../usr/qt-4.3.0/mkspecs/features/exclusive_builds.prf \ ../../../usr/qt-4.3.0/mkspecs/features/default_pre.prf \ ../../../usr/qt-4.3.0/mkspecs/features/release.prf \ ../../../usr/qt-4.3.0/mkspecs/features/default_post.prf \ ../../../usr/qt-4.3.0/mkspecs/features/warn_on.prf \ ../../../usr/qt-4.3.0/mkspecs/features/qt.prf \ ../../../usr/qt-4.3.0/mkspecs/features/unix/thread.prf \ ../../../usr/qt-4.3.0/mkspecs/features/moc.prf \ ../../../usr/qt-4.3.0/mkspecs/features/resources.prf \ ../../../usr/qt-4.3.0/mkspecs/features/uic.prf \ ../../../usr/qt-4.3.0/mkspecs/features/yacc.prf \ ../../../usr/qt-4.3.0/mkspecs/features/lex.prf \ /home/phil/usr/qt-4.3.0/lib/libQtCore.prl $(QMAKE) -unix -o qtdirs.mk qtdirs.pro ../../../usr/qt-4.3.0/mkspecs/common/g++.conf: ../../../usr/qt-4.3.0/mkspecs/common/unix.conf: ../../../usr/qt-4.3.0/mkspecs/common/linux.conf: ../../../usr/qt-4.3.0/mkspecs/qconfig.pri: ../../../usr/qt-4.3.0/mkspecs/features/qt_functions.prf: ../../../usr/qt-4.3.0/mkspecs/features/qt_config.prf: ../../../usr/qt-4.3.0/mkspecs/features/exclusive_builds.prf: ../../../usr/qt-4.3.0/mkspecs/features/default_pre.prf: ../../../usr/qt-4.3.0/mkspecs/features/release.prf: ../../../usr/qt-4.3.0/mkspecs/features/default_post.prf: ../../../usr/qt-4.3.0/mkspecs/features/warn_on.prf: ../../../usr/qt-4.3.0/mkspecs/features/qt.prf: ../../../usr/qt-4.3.0/mkspecs/features/unix/thread.prf: ../../../usr/qt-4.3.0/mkspecs/features/moc.prf: ../../../usr/qt-4.3.0/mkspecs/features/resources.prf: ../../../usr/qt-4.3.0/mkspecs/features/uic.prf: ../../../usr/qt-4.3.0/mkspecs/features/yacc.prf: ../../../usr/qt-4.3.0/mkspecs/features/lex.prf: /home/phil/usr/qt-4.3.0/lib/libQtCore.prl: qmake: FORCE @$(QMAKE) -unix -o qtdirs.mk qtdirs.pro dist: @$(CHK_DIR_EXISTS) .tmp/qtdirs1.0.0 || $(MKDIR) .tmp/qtdirs1.0.0 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qtdirs1.0.0/ && $(COPY_FILE) --parents qtdirs.cpp .tmp/qtdirs1.0.0/ && (cd `dirname .tmp/qtdirs1.0.0` && $(TAR) qtdirs1.0.0.tar qtdirs1.0.0 && $(COMPRESS) qtdirs1.0.0.tar) && $(MOVE) `dirname .tmp/qtdirs1.0.0`/qtdirs1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qtdirs1.0.0 clean:compiler_clean -$(DEL_FILE) $(OBJECTS) -$(DEL_FILE) *~ core *.core ####### Sub-libraries distclean: clean -$(DEL_FILE) $(TARGET) -$(DEL_FILE) qtdirs.mk mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all compiler_moc_header_make_all: compiler_moc_header_clean: compiler_rcc_make_all: compiler_rcc_clean: compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: compiler_uic_make_all: compiler_uic_clean: compiler_yacc_decl_make_all: compiler_yacc_decl_clean: compiler_yacc_impl_make_all: compiler_yacc_impl_clean: compiler_lex_make_all: compiler_lex_clean: compiler_clean: ####### Compile qtdirs.o: qtdirs.cpp $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qtdirs.o qtdirs.cpp ####### Install install: FORCE uninstall: FORCE FORCE:
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
