![]() |
Uploading a QT project - build fails no qmake
Ok so I have tried several times following the qt building process listed on the wiki etc, however every time I upload my project to the extras-devel it fails to build saying there is no qmake. How exactly are we meant to make QT projects with no qmake on the build server?
Anyone who has put out a Qt project please, little help? |
Re: Uploading a QT project - build fails no qmake
Quote:
Daniel |
Re: Uploading a QT project - build fails no qmake
Quote:
|
Re: Uploading a QT project - build fails no qmake
cd builddir && qmake PREFIX=/opt ../qtPianobar.pro
/scratchbox/tools/bin/sh: line 1: qmake: command not found make: *** [builddir/Makefile] Error 127 Same error and yes this time I included the qt-dev in the build deps. Why does this goddamn process have to be so frigging complicated and such a black hole where we throw stuff into it with no idea of whats going on inside. Seriously who is in charge of this process and why is there no decent documentation on this kind of thing. I have read http://wiki.maemo.org/Packaging_a_Qt_application A dozen times and I cannot find any reference to me having to put anything specific in my source. This is a copy of my control file. Code:
Source: qtpianobar |
Re: Uploading a QT project - build fails no qmake
Perhaps you need to put "cd builddir && /opt/qt4-maemo5/bin/qmake PREFIX=/opt ../qtPianobar.pro" in there since you are using Qt 4.6 and that's where qmake is then located (not in PATH variable, so just qmake doesn't work).
|
Re: Uploading a QT project - build fails no qmake
You need a different rules file. I have it attached in this thread. Replace the debian/rule file with it. Just remember to change the APPNAME. Also edit the debian/compat file so that it says 5.
I hope this helps. :) |
Re: Uploading a QT project - build fails no qmake
Quote:
|
Re: Uploading a QT project - build fails no qmake
Quote:
/scratchbox/tools/bin/sh: line 1: qmake-qt4: command not found make: *** [builddir/Makefile] Error 127 Well I am at a goddamn loss. I can only assume at this stage something is ****ed on the build server. Since we have no real way of contacting the build server admins (whoever they may be) I have no way to check if that is indeed the case. |
Re: Uploading a QT project - build fails no qmake
Did you try what I suggested? /opt/qt4-maemo5/qmake
|
Re: Uploading a QT project - build fails no qmake
Quote:
I would however like to go on record as saying NOWHERE in the goddamn docs is that path mentioned. |
| All times are GMT. The time now is 22:43. |
vBulletin® Version 3.8.8