Compiling Qt4



  • I accidentally left off the "-j [jobs]":http://www.gnu.org/software/make/manual/html_node/Options-Summary.html#Options-Summary when compiling the "qt4 git://gitorious.org/qt/qt.git":http://qt.gitorious.org/ repository from mingw32-make as per the "Building Qt4":http://qt-project.org/wiki/Building-Qt4-for-Blackberry documentation. Will this make any other difference beside the amount of time it takes to compile?

    My Understanding

    • My understanding of the command is it controls the amount of jobs being performed but if nothing is set after -j in [jobs] then it may be pointless to have.

    • I could be wrong because I still don't have a complete understanding of the configure.exe command sysntax (eg. configure.exe -opensource -confirm-license -release -xplatform unsupported/blackberry-armv7le-qcc -arch arm -nomake examples nomake demos -no-neon -opengl es2 -prefix c:\dev\qt4install).

    Hope I am right and the biggest downside is the amount of time it takes to compile! Please voice your opinion if you have a firm understanding of this procedure.



  • you can stop compiling and the run again with your new make command, it will not recompile what is already compiled. But I think that mingw32-make doesnt support "-j" switch



  • [quote author="marcoB" date="1346613191"]you can stop compiling and the run again with your new make command, it will not recompile what is already compiled. But I think that mingw32-make doesnt support "-j" switch[/quote]

    So technicaly it doen't matter then anyways from the sound of it. But if it doesn't I would think it would tell me my syntax is wrong, don't you?

    What someone in "SO":http://stackoverflow.com/questions/12238695/left-j-off-mingw32-make-command-for-qt4/12238787#12238787 mentioned was there will just be no order to the jobs. By using -j the make files will define the order of jobs.



  • [quote author="weblife" date="1346614403"]
    So technicaly it doen't matter then anyways from the sound of it. But if it doesn't I would think it would tell me my syntax is wrong, don't you?[/quote]

    I read somewhere that giving -j parameter to mingw32-make, doesn't give any error messages.
    I never used mingw, but this "thread":http://qt-project.org/forums/viewthread/855 could help you



  • @marcoB you are right. Windows seems to inhibit this use.

    This is okay because this was one of those things I am glad to have learned. I am officially making the transition Linux and even went and bought a i7 9930K so I can utilize all 8 cores! Development just got a little nicer.



  • bq. Development just got a little nicer.

    it will for sure, not for just the i7, but for you linux transition :)

    edit: not my intention to rise a win<->linux flame :)



  • Linux wins when it come to development in my mind, no ding to Windows and all its usefulness. Who knows what Win8 has in tail for development now that they have made such a big change to their coding structures. I actually am running Win8 release (Yes, I do) on one 520 Intel SSD and its not to bad; just different. The real fun will be when I make the Unix transition.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.