Qt Creator 2.0.0Beta & Qt 4.7.0Beta


hdonk

Active Member
Joined
Sep 12, 2008
Messages
572
I've got QT Creator 2.0.0 Beta & QT 4.7.0 Beta compiled natively. However I can't get then PND'd currently as they take up > 1Gb & I think my SD card is dying... However if I manage to get it tared up, would anyone actually want it?
 
hdonk said:
I've got QT Creator 2.0.0 Beta & QT 4.7.0 Beta compiled natively. However I can't get then PND'd currently as they take up > 1Gb & I think my SD card is dying... However if I manage to get it tared up, would anyone actually want it?

I don't know if I would need it persay, but I'm sure there are others who would definitely express an interest in this.

-God Ginrai
 
Last edited by a moderator:
dflemstr said:
YES!! (Doesn't have to be a PND, a ZIP file will do! ;) )
I'm trying to tar it up now. Fingers crossed the SD card survives that long :)
 
Last edited by a moderator:
Here it is:
QT Creator + QT
Warning: It's 400+ Megabytes, and there *may* be some problem files in it. If there are, let me know & I'll post them separately.
 
Could you provide a step by step guide how you compiled Qt? I got your zip file, Qt creator from it runs fine, but keeps saying "QT is not installed correctly, run make install" even after setting PATH, QTDIR and QMAKESPEC accordingly.
 
Hi Hdonk,

First, congrats for this.
How long to compile natively QtWebkit for you ? It's 30mn to cross-compile that part of QT on my machine with "make -j4".
So if it's not much more, I may join the native compiler group :)

Here is my real my problrm :

Code:
make[3]: Entering directory `/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/examples/network/download'
/usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-g++ -L/usr/local/pandora/arm-2009q3/lib -Wl,-rpath-link=/usr/local/pandora/arm-2009q3/lib -L/usr/local/pandora/arm-2009q3/usr/lib -Wl,-rpath-link=/usr/local/pandora/arm-2009q3/usr/lib -Wl,-rpath-link,/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -Wl,-O2 -Wl,-rpath,/mnt/utmp/kde-libs/lib -Wl,-rpath,/mnt/utmp/kde-libs/lib -o download .obj/release-shared/main.o    -L/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -lQtNetwork -L/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -pthread -L/usr/local/pandora/arm-2009q3/usr/lib -pthread -lQtCore -lz -lm -ldl -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so: undefined reference to `QInotifyFileSystemWatcherEngine::create()'
/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so: undefined reference to `QDnotifyFileSystemWatcherEngine::create()'
collect2: ld returned 1 exit status
make[3]: *** [download] Error 1
Did you had anything like that ?

This sound like ld don't find pointer to these 2 fonctions inside libQTCore while tring to link this example.
This is weird because these are defined within libQtCore code and :
Code:
seb@seb:~/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2$ nm -a /home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so|grep QInotifyFileSystemWatcherEngine
         U _ZN31QInotifyFileSystemWatcherEngine6createEv
seb@seb:~/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2$ nm -a /home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so|grep QDnotifyFileSystemWatcherEngine
         U _ZN31QDnotifyFileSystemWatcherEngine6createEv
So they are clearly there (or am I missing something ???)

And I'm lost. I'm working on this for some times now, and I didn't find anything that may help me more on the web.

Is this some-how related to PIC (-fPIC option of gcc) ?

All I want is kpat.... :D
 
Xtreme2k said:
Could you provide a step by step guide how you compiled Qt? I got your zip file, Qt creator from it runs fine, but keeps saying "QT is not installed correctly, run make install" even after setting PATH, QTDIR and QMAKESPEC accordingly.

Figured this out myself in the meantime. The "Trolltech" folder in the archive needs to be extracted to /usr/local, then the following exports have to be made:

export PATH=$PATH:/usr/local/Trolltech/Qt-4.7.0/bin
export QTDIR=/usr/local/Trolltech/Qt-4.7.0
export QMAKESPEC=/usr/local/Trolltech/Qt-4.7.0/mkspecs/linux-g++

Now we just need to get Phonon up and running.
 
Last edited by a moderator:
sebt3 said:
Hi Hdonk,

First, congrats for this.
How long to compile natively QtWebkit for you ? It's 30mn to cross-compile that part of QT on my machine with "make -j4".
So if it's not much more, I may join the native compiler group :)

Here is my real my problrm :

Code:
make[3]: Entering directory `/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/examples/network/download'
/usr/local/pandora/arm-2009q3/bin/arm-none-linux-gnueabi-g++ -L/usr/local/pandora/arm-2009q3/lib -Wl,-rpath-link=/usr/local/pandora/arm-2009q3/lib -L/usr/local/pandora/arm-2009q3/usr/lib -Wl,-rpath-link=/usr/local/pandora/arm-2009q3/usr/lib -Wl,-rpath-link,/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -Wl,-O2 -Wl,-rpath,/mnt/utmp/kde-libs/lib -Wl,-rpath,/mnt/utmp/kde-libs/lib -o download .obj/release-shared/main.o    -L/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -lQtNetwork -L/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib -pthread -L/usr/local/pandora/arm-2009q3/usr/lib -pthread -lQtCore -lz -lm -ldl -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so: undefined reference to `QInotifyFileSystemWatcherEngine::create()'
/home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so: undefined reference to `QDnotifyFileSystemWatcherEngine::create()'
collect2: ld returned 1 exit status
make[3]: *** [download] Error 1
Did you had anything like that ?

This sound like ld don't find pointer to these 2 fonctions inside libQTCore while tring to link this example.
This is weird because these are defined within libQtCore code and :
Code:
seb@seb:~/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2$ nm -a /home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so|grep QInotifyFileSystemWatcherEngine
         U _ZN31QInotifyFileSystemWatcherEngine6createEv
seb@seb:~/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2$ nm -a /home/users/seb/Projects/Pandora/kde/qt-everywhere-opensource-src-4.7.0-beta2/lib/libQtCore.so|grep QDnotifyFileSystemWatcherEngine
         U _ZN31QDnotifyFileSystemWatcherEngine6createEv
So they are clearly there (or am I missing something ???)

And I'm lost. I'm working on this for some times now, and I didn't find anything that may help me more on the web.

Is this some-how related to PIC (-fPIC option of gcc) ?

All I want is kpat.... :D
Hi! Just checked, download built ok on my system. I don't remember having any problems there either.
Hint: If you add --demangle to nm, it will demangle the c++.
I think it took 2-3 days to build the whole lot. I' currently building 4.6.3 as I'm not currently convienced 4.7.0 is working properly iwht qt-creator 2.0.0 at the moment.
 
Last edited by a moderator:
Xtreme2k said:
Xtreme2k said:
Could you provide a step by step guide how you compiled Qt? I got your zip file, Qt creator from it runs fine, but keeps saying "QT is not installed correctly, run make install" even after setting PATH, QTDIR and QMAKESPEC accordingly.

Figured this out myself in the meantime. The "Trolltech" folder in the archive needs to be extracted to /usr/local, then the following exports have to be made:

export PATH=$PATH:/usr/local/Trolltech/Qt-4.7.0/bin
export QTDIR=/usr/local/Trolltech/Qt-4.7.0
export QMAKESPEC=/usr/local/Trolltech/Qt-4.7.0/mkspecs/linux-g++

Now we just need to get Phonon up and running.
Sorry I didn't notice your posting.
What you've got there looks about right - If you just have the PATH set up & run qtcreator I believe it finds everything else for you.
 
Last edited by a moderator:
hdonk said:
Hi! Just checked, download built ok on my system. I don't remember having any problems there either.
Hint: If you add --demangle to nm, it will demangle the c++.
I think it took 2-3 days to build the whole lot. I' currently building 4.6.3 as I'm not currently convienced 4.7.0 is working properly iwht qt-creator 2.0.0 at the moment.
I found why : the specs I was using was named "pandora" after digging I found that these fonctions where exported only if your spec is named "linux*" or "arm*". I renamed my spec linux-pandora-g++. make distclean&&configure&&make fixed it.

I run into a horde of others problems, but they where related to my build system, configure args or gmake.conf contents.
The last problem I have for code like :
Code:
double a;
double b;
...
b = max(min(0.0, a), 1.0);
Normal gcc will guess that 1.0 is a double, thus using "double max(double, double)" function.
code sourcery Gcc think 1.0 and 0.0 are float (which is right sure, but this could be double too), so failling to compile.
I had to add the typecasts for all of them (painfull within QtWebkit) to get Qt compiled.

Anyone with an idea (idealy a Gcc option) ? (it may be one flags set or missing)


EDIT: I forgot : 3 days :blink: you're some kind of hero :)
 
Last edited by a moderator:
I've just built Beta2, and rebuilt qtcreator.
There is some kind of bug that means the properties in the form editor can't be changed, in either version... Which basically means no graphical GUI development natively :(
I'll try to get around to talking to Trolltech about it at some point :)
 
hdonk said:
I've just built Beta2, and rebuilt qtcreator.
There is some kind of bug that means the properties in the form editor can't be changed, in either version... Which basically means no graphical GUI development natively :(
I'll try to get around to talking to Trolltech about it at some point :)

Is libQtNetwork working ?
 
Last edited by a moderator:
sebt3 said:
hdonk said:
I've just built Beta2, and rebuilt qtcreator.
There is some kind of bug that means the properties in the form editor can't be changed, in either version... Which basically means no graphical GUI development natively :(
I'll try to get around to talking to Trolltech about it at some point :)

Is libQtNetwork working ?
I've got libQtNetwork.so.* built... Is that what you mean?
 
Last edited by a moderator:
hdonk said:
sebt3 said:
Is libQtNetwork working ?
I've got libQtNetwork.so.* built... Is that what you mean?
No. In my builds libqtNetwork complain about glibc being 2.9 and not 2.10 (try the network example) and then quit the whole apps.
KDELibs link to QtNetwork, kpat link to kdelibs, so kpat don't start (even if it don't use network stuff)
 
Last edited by a moderator:
sebt3 said:
hdonk said:
sebt3 said:
Is libQtNetwork working ?
I've got libQtNetwork.so.* built... Is that what you mean?
No. In my builds libqtNetwork complain about glibc being 2.9 and not 2.10 (try the network example) and then quit the whole apps.
KDELibs link to QtNetwork, kpat link to kdelibs, so kpat don't start (even if it don't use network stuff)
The download example app works...
 
Last edited by a moderator:
I think I need to tell Qt creator where to find qmake, but unfortunately I can't get to the box in the gui as it's off the bottom of the screen. I don't seem to be able to move the window up to allow access to the input box.

Any help?
 
By chance, anyone have hdonk's build of QT (or newer) up somewhere? the link above is dead.

(I'm looking for a good solid proven to work QT 4.6 or 4.7 with QtOpenGL support built in :)

jeff
 
skeezix said:
By chance, anyone have hdonk's build of QT (or newer) up somewhere? the link above is dead.

(I'm looking for a good solid proven to work QT 4.6 or 4.7 with QtOpenGL support built in :)

jeff
I took it down as qtdeveloper was not allowing properties of widgets to be edited, making it useless. And as I haven't had time to track down whether it's the app or the library that's causing the problem, I felt it was safer to remove it. I can however build the latest version and try again if you're still interested.
 
Last edited by a moderator:
I think sebt3 is working on a fresh 4.7 build as well, so we can see.

I've not ad much time the last couple weeks to poke around, sadly; if anyone has the QtOpenGl option building, and actually working, thats a huge win and I've love to see that tarballed up :)

jeff
 
Back
Top