![]() |
struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
boys and girls
i want to do my qt4.6 dev using windows then copy the src to the phone and compile i cannot get the dev package to install as instructed inthe wiki because it depends on 2 open gl packs and a sqlite3 pack that arent in the devel repo. i added a repo for the gl packs, a closed nokia-binaries one that i need a token for and i got the sqlite one from a subdirectory of the devel repo server but they now wont install because they need libc6-dev package and i cant find that anywhere can anyone tell me how to make apt get IGNORE these deps (dont plan on using gl or sqlite) or alternately how to gwt this libqt4-maemo5-dev pack to install? ive already successfully removed qt 4.5 from my n900 thanks |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
Hi,
first of all, why do you want to compile your application on the device? If you want to compile your 4.6 app under windows, follow the instructions of harald in his blog on how to integrate 4.6 into MADDE and compile on your host. Then you just need the basic qt-maemo5 packages on your device and to copy your compiled binary there, so that you don't run into endless dependency-issues. Daniel |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
Did a lot of reading, around last night, and wow.. the options list is vast. Basically I wanted:
A nice, easy IDE to write apps in (I figured QtCreator w/ Qt 4.6 on windows) My apps to work on an N900 I figured I'd just write and debug them in Windows and then copy the sources to the N900 and compile them there. After chewing over the idea with the guys in freenode #dt-memo (possibly even you, if youre daniel_ki ;)) it seems that a dumb way, because the compilation will be slow So it seems I either: Use scratchbox, compile to arm ina terminal, copy to device Use QtCreator and madde, but be stuck at 4.5 I havent found any resources that say that 4.6 madde is available and links with QtCreator in windows.. did I miss something? |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
Quote:
though I dont use MADDE myself, I rely on the scratchbox environment for QT4.6. |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
Quote:
If you are willing to do some extra work to setup scratchbox, then compiling and running QT under the scratchbox will a walk in the park. Here's a mini tut how to do it: Step 0 (for Windows users): Download and install VirtualBox and then install Ubuntu. Step 1: Follow this guide and finish scratchbox setup: http://wiki.maemo.org/Documentation/...l_Installation Just the "Installing Maemo 5 SDK using GUI Installer" and "Starting/Shutting down the SDK UI" sections. Once you've reached to "af-sb-init.sh start" and see Maemo OS running under your x86 target, you are set. Step 2: Enabled extras for your scratchbox X86 target: http://wiki.maemo.org/Extras-devel#H...e_Extras-devel Type "apt-get update" "apt-get upgrade" "apt-get install libqt4-maemo5-*" at this point you see some prompt, cancel it by selecting no. You will see a list of QT4.6.2 packages listed. Just pick the onces you want to install. For example, "apt-get install libqt4-maemo-5-core libqt4-maemo-5-gui" etc. Step 3: Following "Creating a simple application" http://wiki.forum.nokia.com/index.ph...h_Qt_for_Maemo and build it. Remember to execute command "/opt/qt4-maemo5/bin/qmake" instead of just qmake. THIS IS IMPORTANT. You should be able to run the QT4.6 application you've written under x86 target. Step 4: Compile your application for N900. - Type "sb-menu" to bring up scratchbox control menu - Select "Kill all" and type 9 to kill all opened seasons - Select "Target Active a target" and active your ARMEL target. - Repeat Step 2 and 3 for your ARMEL target. In Step 2, enabling extras by adding the following to /etc/apt/source.list deb http://repository.maemo.org/extras/ fremantle free non-free deb-src http://repository.maemo.org/extras/ fremantle free deb http://repository.maemo.org/extras-devel/ fremantle free non-free deb-src http://repository.maemo.org/extras-devel/ fremantle free After binary file is complied under ARMEL target, copy it to your N900's /home/user folder. Step 5: - Enable extras on your N900 - Install required libqt5-maemo-blablabla packages - Execute the QT binary you've just compiled and enjoy the achievement. |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
Quote:
You could also set your PATH variable to point to /opt/qt4-maemo5/bin for QT4.6 or /usr/bin/ for QT4.5, thats how I do it in order to switch between QT4.5/4.6:) |
Re: struggling to apt-get libqt4-maemo5-dev (qt4.6) on my n900
That was fast :)
Sorry was writing this without the scratchbox in front of me. Anyway I added the corrections. |
All times are GMT. The time now is 15:29. |
vBulletin® Version 3.8.8