![]() |
How to build qt-maemo-example
I realise this is something I should be able to figure out on my own but I am pretty stumped on how to properly build the qt-maemo-example.
I am trying to build it using Qt Creator on Windows. I open the main project file, leave all the project settings as they are and build the application. What I get is a .deb file which contains the executable but is missing the icons and desktop files. The 3 default build steps in Qt Creator are: 1) qmake.exe <dir location>/qt-maemo-example.pro -r -spec default -unix CONFIG+=debug 2) make.exe -w 3) Create Package Am I going about this in completely the wrong way? |
Re: How to build qt-maemo-example
Quote:
Daniel |
Re: How to build qt-maemo-example
Quote:
|
Re: How to build qt-maemo-example
Any pointers as to where Im going wrong here would still be greatly appreciated.
Do other people also use Qt Creator to package their applications or is this not the best practice. I have tried using the dpkg-buildpackage command in MADDE without success also. Knowing what build environment is considered the "correct" one would be very helpful also. |
Re: How to build qt-maemo-example
Hi,
the packaging options in QtCreator are a bit limited at the moment. Your problem seems to be related to this bug. I tried it with the madde command-line tools on linux and it worked as expected. Unpack the tarball and run in the directory: Code:
mad dpkg-buildpackage -us -uc Daniel |
Re: How to build qt-maemo-example
Quote:
I have the example building now but I am using the madde command line in Windows and the package cannot be built using your instructions. The qmake command which is called from the above instructions creates a Makefile in the main and src directories which hard codes a PREFIX variable to the installation directory of madde, ie Code:
$(QMAKE) -unix PREFIX=D:/MADDE/0.6.72 -o Makefile ../../src/src.pro Im not sure whether the correct solution is to a) not use Windows b) change the qt-maemo-example c) somehow change the behaviour of qmake in this enviroment |
Re: How to build qt-maemo-example
I build qt-maemo-example package by using MADDE 0.7.23 in Windows 7 64bit environment. All went just fine.
|
Re: How to build qt-maemo-example
Quote:
|
Re: How to build qt-maemo-example
I tried it also with MADDE 0.6.72. No problems here.
|
All times are GMT. The time now is 00:39. |
vBulletin® Version 3.8.8