![]() |
Qt Creator 3.0 and QtMaemo5
Hi,
I'm using the latest QtCreator. The problem is, that it doesn't have absolutely any support for QtMaemo5. Is it possible to build the module for desktop? The qt in Ubuntu doesn't contain src/maemo5 at all... Thanks |
Re: Qt Creator 3.0 and QtMaemo5
The only thing which could work is to install madde stand alone.
And add the qt version, toolchain from madde and create a kit. Long time ago you need to add madde to QtCreator http://wiki.maemo.org/MADDE/QtCreato...on_for_windows Maybe it works for the QtCreator 3.0 too. first add qt version (\Qt\Madde\0.7.48\targets\fremantle-pr13\bin\qmake.exe) http://qt-project.org/doc/qtcreator-...ect-qmake.html Now add the toolchain http://qt-project.org/doc/qtcreator-...ol-chains.html Configure project kit http://qt-project.org/doc/qtcreator-...-projects.html Here you can download madde: http://skeiron.org/tablets-dev/MADDE/ When you want to try please report your expirience. |
Re: Qt Creator 3.0 and QtMaemo5
<movie man voice> In a world gone Madde. One man fights to write software for a forgotten operating system. In the days after the Elopolypse, survival is left up to the fittest.</movie man voice>
Also had to be done... slaapliedje |
Re: Qt Creator 3.0 and QtMaemo5
Thanks for your reply. All I need are QMaemo5* classes in the Designer. Would MADDE make them available there? Or maybe there's an easier way to use the classes in the Designer?
Thanks |
Re: Qt Creator 3.0 and QtMaemo5
I don't know but I would guess that the editor itself, when you creating a gui, will create elements from QT5 classes.
When QtCreator is so intelligent and uses uic on the design.ui file from madde fremantle then it could work. ( I need to look in the makefile) I don't know if there is a big difference between qt4.7 ui-files and qt5 then maybe the uic command can not handle these ui-files from qt5/QtCreator3. Also you should use only classes which knows qt4.7-maemo. In principle you don't need QtCreator and you can use Madde with the console tool. So everything what you need should deliver Madde it is a matter of the configuration of QtCreator and the question about ui-file compatibility. |
Re: Qt Creator 3.0 and QtMaemo5
I forgot something to write:
The specific maemo classes are visible for the qtcreator when you choosing your target (kit). So you need to work with if def when you want to compile the same source for different targets. So you can exclude different QT5 classes and for none maemo, exclude the specific maemo5 classes. Otherwise you will get errors. |
Re: Qt Creator 3.0 and QtMaemo5
begin(thinking)
def ui_files=qtcreator3 If the ui_files != compatible then { it could be a solution to take an old QtCreator stand alone >> make it portable; exec qtcreator (for creating only ui-files) :until copy finished :) } else nothing todo; end(); |
Re: Qt Creator 3.0 and QtMaemo5
I ried but until now not succesful here roughly my config.
Compiler: compiler=D:\Qt\Madde\0.7.48\targets\fremantle-pr13\bin\g++.exe codegen="-march=armv7a" "-mcpu=cortex-a8" "-mfpu=vfp" "-mfloat-abi=softfp" -fno-omit-frame-pointer -fno-optimize-sibling-calls link=-O 1 "--hash-style=gnu" "-L=/usr/lib/gcc/arm-linux-gnueabi/4.2" QT Version qmake_path=D:\Qt\Madde\0.7.48\targets\fremantle-pr13\bin\qmake.exe Kit device=generic linux sysroot=D:\Qt\Madde\0.7.48\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim Debugger not copied so far, not tried |
Re: Qt Creator 3.0 and QtMaemo5
I managed to get a build but nothing present in the designer. (but I needed to use system-wide make)
|
| All times are GMT. The time now is 11:55. |
vBulletin® Version 3.8.8