I guess you already have Qt with qmake, so just go to the qmake project dir (where qmake.pro is) and run qmake, then make :]
I guess you already have Qt with qmake, so just go to the qmake project dir (where qmake.pro is) and run qmake, then make :]
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Ok, I deleted the Makefile copied from Makefile.unix and some .o files generated, so I have an original source folder of qmake.
Changed current directory to ~/qt-x11-opensource-src-4.5.1/qmake/.
ran qmake on qmake.pro, got errors:
Qt Code:
WARNING: Failure to find: qbitarray.cpp WARNING: Failure to find: qbuffer.cpp WARNING: Failure to find: qbytearray.cpp ... +30 messages like that and abortsTo copy to clipboard, switch view to plain text mode
The qmake used is installed somewhere else and belongs to Qt version 4.5.0.
The required files are under ~/qt-x11-opensource-src-4.5.1/src/corelib .
How can I make my installed qmake see those files?
Last edited by paulocarvalho_br_2009; 21st May 2009 at 14:07.
quite weird because I cded into qmake dir, typed qmake and it worked :]
Maybe there is something wrong with your QT_SOURCE_TREE variable, because as I see all the paths starts with this variable?
And I think that all you need is to modify qmake.pro where some paths to corelib directory are.
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
paulocarvalho_br_2009 (21st May 2009)
By reading qmake.pro, one realizes that QT_SOURCE_TREE is supposed to be initialized somewhere else.
Of course when I try to qmake qmake.pro, QT_SOURCE_TREE is empty, thus qmake fails.
Questions:
1) Should I build the entire Qt and/or run the configure script?
2) Should I run some other script? I didn't find any shell scripts in qmake source directory.
3) Is it enough to export QT_SOURCE_TREE=<qt source parth>?
Reading the INSTALL text file I realized I had to run the configure file in order to prepare the sources for building, even if I just want to build qmake. Please, forgive my "newbieness". qmake was succesfully built according to your instructions. Thanks. Now I will work on the source code and, if I get something useful, I'll share it with the community.
Bookmarks