[Ac-branch] qt4

Tomasz Wittner twittner w o2.pl
Wto, 16 Sty 2007, 21:19:22 CET


Hi,

Co z qt4 z AC-branch? U mnie się zbudowało (arch athlon) po dodaniu 
do ./configure -patform linux-g++ - bez tego używało /usr/share/qt/mkspecs,
które to to było z qt-qmake-3.3.7:
thlon-pld-linux-g++  -c -o 
qfsfileengine_unix.o -pipe   -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/arch/generic
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/include
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/include/QtCore
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/include
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/include/QtCore
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/global
-I/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/3rdparty/md5
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS
-I/usr/share/qt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp: 
In
   member function `bool QFSFileEnginePrivate::isSymlink() const':
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp:334: 
error: `
   QT_LSTAT' undeclared (first use this function)
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp:334: 
error: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp: 
In
   member function `virtual bool QFSFileEngine::setSize(long long int)':
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp:650: 
error: `
   QT_FTRUNCATE' undeclared (first use this function)
/home/users/inter/my/devel/qt4-ac-branch/BUILD/qt-x11-opensource-src-4.2.2/src/corelib/io/qfsfileengine_unix.cpp:652: 
error: `
   QT_TRUNCATE' undeclared (first use this function)
make: *** [qfsfileengine_unix.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.96073 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.96073 (%build)
  152.69s real    69.38s user    12.18s system

Następne pytanie - czy, a jeżeli tak to gdzie to pakować:

Checking for unpackaged 
file(s): /usr/lib/rpm/check-files /mnt/hda5/tmp/qt4-4.2.2-root-inter
warning: Installed (but unpackaged) file(s) found:
   /usr/lib/qt4/bin/pixeltool
   /usr/lib/qt4/bin/qdbus
   /usr/lib/qt4/bin/qdbuscpp2xml
   /usr/lib/qt4/bin/qdbusxml2cpp
   /usr/lib/qt4/bin/qvfb
Wrote: /home/users/inter/my/devel/qt4-ac-branch/RPMS/QtCore-4.2.2-1.athlon.rpm

Następna sprawa - czy (i ew. kiedy, z jakim prio) mozna puścić qt4:AC-branch 
do ac-test

BTW1:

inotify auto-detection... ()
athlon-pld-linux-g++ -c -pipe -O2 -march=athlon -fno-strict-aliasing -Wall -W   -I../../../mkspecs/linux-g++ -I. -I/usr/include/postgresql/server -I/usr/include/mysql -I. -o 
inotifytest.o inotifytest.cpp
inotifytest.cpp:1:25: sys/inotify.h: No such file or directory
inotifytest.cpp: In function `int main()':
inotifytest.cpp:5: error: `inotify_init' undeclared (first use this function)
inotifytest.cpp:5: error: (Each undeclared identifier is reported only once 
for
   each function it appears in.)
inotifytest.cpp:6: error: `IN_ACCESS' undeclared (first use this function)
inotifytest.cpp:6: error: `inotify_add_watch' undeclared (first use this
   function)
inotifytest.cpp:7: error: `inotify_rm_watch' undeclared (first use this
   function)
make: *** [inotifytest.o] Error 1
inotify disabled.


BTW2: http://qrfcview.berlios.de/ - stąd moje zainteresowanie qt4, na razie 
mam:
$ sudo 
ldd /home/users/inter/my/devel/qrfcview/SOURCES/qrfcview-0.62/bin/qRFCView | 
grep Troll
        libQtGui.so.4 => /usr/local/Trolltech/Qt-4.1.2/lib/libQtGui.so.4 
(0xb79e4000)
        libQtNetwork.so.4 
=> /usr/local/Trolltech/Qt-4.1.2/lib/libQtNetwork.so.4 (0xb777a000)
        libQtCore.so.4 => /usr/local/Trolltech/Qt-4.1.2/lib/libQtCore.so.4 
(0xb760d000

-- 
Tomasz Wittner


Więcej informacji o liście dyskusyjnej pld-devel-pl