maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   ( A tutorial ) Create your own first application for N900 using Qt. (https://talk.maemo.org/showthread.php?t=75725)

prankster 2011-08-14 06:43

( A tutorial ) Create your own first application for N900 using Qt.
 
3 Attachment(s)
This tutorial is especially for those who might be interesting in developing for beloved N900 and also for those who have a little wish to be a developer for maemo .hope Others find this useful too.
Here is the place where you can hit the right buttons or in case you need further assistance . http://www.developer.nokia.com/Devel...tting_started/ And also Dont FORGET TO CHECK THIS OUT .http://qt.nokia.com/learning/online/...ation-creation .
The first step for creating apps for the N900 is to download and install the http://www.developer.nokia.com/Develop/Qt/. Qt is a very powerful SDK for creating applications for many environments, such as Windows, Linux, Mac, Maemo (this is what the N900 runs), Symbian, and Windows CE. That means that you only need to code once and you have native applications for all those environments. Nice.
Also for further installations check this out .http://qt.nokia.com/ and also this http://www.developer.nokia.com/Resou...s/Other/Maemo/
After Nokia Qt SDK is installed, open Qt Creator which is the IDE included with Qt. You should see something like this:
http://www.samontab.com/web/wp-conte.../01/qtwin1.png

Now, you need to create a new project. Go to File->New File or Project. There, under Qt C++ Project, you need to select Mobile Qt Application and click Choose.

http://www.samontab.com/web/wp-conte...1/mobileqt.png

Now you need to input the name and path of the project. Make sure that you do not use any spaces or special characters in either the name or the path of the project.
http://www.samontab.com/web/wp-conte...11/01/name.png

In the next window you will define the targets of your project. The options shown will depend on the specific SDKs that you have installed on your computer. At least you should have Maemo, Qt Simulator and Symbian Device since all of them are part of the Nokia Qt SDK. Select Maemo and Qt Simulator. Maemo is the platform for the N900 and the Qt Simulator is useful for design and debug on the PC.
http://www.samontab.com/web/wp-conte...1/01/maemo.png

Next you will see the details of the classes that will be generated for you. Leave everything as default. It will create a class called MainWindow derived from QMainWindow. Nothing to worry here, basically it is a class that represents a window. There are three files that will be created for this class; the mainwindow.cpp which holds the implementation of the methods of the class, mainwindow.h which defines the class itself and lists the methods, and mainwindow.ui which generates the UI based on the graphical designer inside Qt Creator. Just press Next.
http://www.samontab.com/web/wp-conte.../01/window.png

Now you will see the summary of the project. Click on Finish.
http://www.samontab.com/web/wp-conte...011/01/end.png


Now you have a blank window and different controls that you can drag and drop into it. You can add buttons, text edits, combo boxes, calendars, and many more. Try dragging a couple of controls and looking at their properties on the right side. You can erase any control by just selecting it and pressing the Delete key.
http://www.samontab.com/web/wp-conte...ankscreen2.png

Let’s create a very simple application, something that sums two numbers. First, we need to add a Layout. A Layout brings order to the application’s items, and makes sure that it will look good on any platform. There are different types of layouts: horizontal, vertical, form and grid. Vertical and horizontal layouts are straightforward since they represent just a list of items on each direction. If you want to put two items per row, you can use the form layout. This layout is perfectly suited for aligning each text label with its corresponding text edit. If you have a more complex application UI, you can use the grid layout which is more flexible. For this simple application I will use the Form Layout. Just drag it to the window. A red rectangle should appear.

http://http://www.samontab.com/web/w...formLayout.png

Now lets put some controls on the layout. I will be using three Text Edits, one for each number and one for the sum of them. You can find them under the Input Widgets category. Also, I will be using two Labels, found under Display Widgets and a Push Button, found under the Buttons category. Drag and drop them inside the red rectangle so that you see something like this:

http://www.samontab.com/web/wp-conte...11/01/form.png

Now lets configure each item. You can double click on each of them to change the text or to input default values. If you click on an item it will be selected, and all of its properties will be shown on the right side. Select each line edit and change its objectName property to number1, number2 and sum accordingly. Change the push button objectName to sumNumbers. The last thing that you need to do here is to set the sizePolicy for each item. Select every item and under sizePolicy, for horizontal and vertical select Expanding. This means that the items will expand to the correct size for any device. If you do not set these policies, probably you will not be able to see the items on the phone due to their small size.

http://www.samontab.com/web/wp-conte...1/01/form2.png

OK, lets do some coding now. What we want the application to do is to sum number1 and number2 and output the result when the users clicks the Sum button. An easy way of accessing the code is to right click on the push button and select Go To Slot…. This will open a dialog with all the slots of that object. We are interested in the Clicked() slot, so select it and click OK. If you ask yourself what a slot is, just think of it as an event. Although if you really want to use Qt you should learn about http://en.wikipedia.org/wiki/Signals_and_slots

http://www.samontab.com/web/wp-conte...1/01/slots.png

Alright, now we are in the Edit tab of Qt Creator (before we were in the Design tab). This is where you can see all the source files and the actual code for the application. If you selected the Clicked() slot from the previous paragraph, a function will be created for you. Note that the function name, on_sumNumbers_clicked(), has the name of the item (sumNumbers) and the slot (clicked()). This is the actual function that gets called when the sum button is pressed. Here is where we will do the actual coding.

01 void MainWindow::on_sumNumbers_clicked()
02 {
03 //anything from the user interface that we created is inside the ui object.
04 //first, get the two numbers as ints
05 int number1 = ui->number1->text().toInt();
06 int number2 = ui->number2->text().toInt();
07 //now sum the numbers
08 int result = number1 + number2;
09 //finally store the result as text in the sum line edit
10 ui->sum->setText(QString::number(result));
11 }


OK, now the coding is done. Lets see it running on the emulator. Make sure that Qt Simulator is selected on the left side, above the green play button. To run it, just press the green play button. You should see something like this:

http://www.samontab.com/web/wp-conte...simulator2.png

Note that this is the actual N900 simulator. If you see a different phone, you can change it in the simulator window: Under the View category you will see a Device selection, just select Maemo Freemantle and the N900 should appear. Now you can use the application, input some values and after you click Sum, the result should appear correctly. If the application does not work properly at this stage, go back to the code and correct any mistakes.

Once you have your application running in the simulator, it is time to compile it for the real N900 device. For doing that first close the simulator. Then, select Maemo above the green play symbol. Wait a couple of seconds until the Parsing, Scanning and Evaluating processes are done. After that, go to Build->Build All. Do not press the green arrow as you did before with the simulator. Wait until the building process is finished.

Although the application was built successfully, there are a couple of things that we need to do before we can send the application to the device. First, go to the directory where the project was created. You should see the source files as well as the compiled application, myfirstmobileapp_0.0.1_armel.deb and a debian folder. Go inside that folder. There you will find a file called control. We need to edit this file. Drag and drop it inside Qt Creator (or use any other editor). The contents of the file will be something similar to this:


01 Source: myfirstmobileapp
02 Section: unknown
03 Priority: extra
04 Maintainer: unknown <>
05 Build-Depends: debhelper (>= 5)
06 Standards-Version: 3.7.3
07 Homepage: <insert the upstream URL, if relevant>
08 Package: myfirstmobileapp
09 Architecture: any
10 Depends: ${shlibs:Depends}, ${misc:Depends}
11 Description: <insert up to 60 chars description>
12 <insert long description, indented with spaces>

The problem is in the Section: unknown statement. You need to change it to any valid section different than unknown. For example Section: user/development or Section: user/other or any other valid section. If you don’t change this, you will receive an “incompatible application package” error when you try to install your application.

Now we are going to add an icon for the application. Inside the Debian directory, you will see a folder with the name of your application, in my case myfirstmobileapp. Go inside that folder. There you will see two folders, DEBIAN and usr. Go inside the usr folder. There you will see three folders: bin, local and sbin. Create a new folder there called share. Go inside the newly created share folder. There, create two folders: icons and applications. Inside the icons folder, place the icon for your application, in png format and 64×64 in size. Name it myfirstmobileapp.png or your specific application name. You can use this image as a template.

http://www.samontab.com/web/wp-conte...tmobileapp.png

Now, go inside the Applications folder that you just created. There, create a folder called hildon. Go inside that folder. There, you have to create a text file called myfirstmobileapp.desktop. It should have the following contents:

01 [Desktop Entry]
02 Encoding=UTF-8
03 Version=1.0
04 Type=Application
05 Name=myFirstMobileApp
06 Exec=/usr/local/bin/myFirstMobileApp
07 Icon=myfirstmobileapp
08 StartupWMClass=
09 X-Window-Icon=myfirstmobileapp
10 X-HildonDesk-ShowInToolbar=true
11 X-Osso-Type=application/x-executable
12 Terminal=false


Make sure that you change myfirstmobileapp with your application name. Note that the icon filename does not need to have the PNG extension. After doing that, you are ready. Delete the application (myfirstmobileapp_0.0.1_armel.deb), go to Qt Creator and build it again. Now the generated application should install without a problem in your N900.

Now you need to send the application deb file into your phone. You can do that easily by transferring the file via Bluetooth from your computer. You can select in the N900 to automatically open the file once the transfer is completed. That will launch the installation process. Also, you can use other methods such as an USB cable, or using internet and then use the file browser to navigate to the deb file and launch the installation process. That is all you need to install an application in the N900.

If you are having problems following this tutorial, or if you just want fast results, you can download my sample project and use it as a template for your applications. This way you can focus more on creating cool applications instead of trying to compile them on the N900.

Instructions:

First, download the ( project-myfirstmobileApp ) and extract it. Then, double click on myFirstMobileApp.pro. This will open Qt Creator. Select Maemo and Qt Simulator on the Project Setup window. Then, select Maemo as the target (above the green arrow) and then build the project (Build->Build all).

Now you need to make the corrections so that it installs on the N900( share.zip ). Download this and extract it. Put the share folder you just extracted inside the debian/myfirstmobileapp/usr folder . You should now see four directories under usr: bin, local, sbin and share.

The next step is to overwrite the ( control file ). Download the corrected file from here and copy it into the debian directory. Overwrite the old control file.

Now go to Qt Creator and select Build->Rebuild All. Enjoy!
Here is another project tutorial ( tictactoe ) ..you may get started with this also !just follow the steps :http://www.developer.nokia.com/docum...emo/03_01.html

i believe this is really gonna teach you to be a great maemo developer,just try and give a little panic to your head ~

To understand how easy this is,look at here only if you can understand his accent ,lol http://www.youtube.com/watch?v=giNOTFDOgIs


For further assistance be here on this community and you will find a solution for sure .
i hope one day you show up with some thing like this http://www.youtube.com/watch?v=TkJ97...eature=related
ciao !:):D:):D;););)

droll 2011-08-14 07:03

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
well done. good write-up for beginners to get going!

youmeego 2011-08-14 07:07

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
well done!

can this tutorial be used for making app for n9? youtubing your tutorial will be greater.

N900L 2011-08-14 07:40

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
is this tutorial meant for begonners who dont know anything about developing?
because id like to begin developing apps too.

how did you learn developing apps?
in the university?
by yourself?
from the internet?
or from books?
i need to know how to begin or from where to start?

prankster 2011-08-14 07:46

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
@youmeego ( off-topic )
nope this cant be used for hamattan devices .N9 requires MeeGo 1.2 Harmattan Platform SDK which is mainly recommended for developing platform components and features, but you can also use it for creating applications for Harmattan devices. Harmattan Platform SDK is based on a Scratchbox cross-compilation environment.
rest i hope google helps .
@N900L
just follow the instructions .Give it a try !soon you will be a developer.
you learn this at home,from internet,or may be from this tutorial by yourself .

N900L 2011-08-14 08:01

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
thank you ill give it a try

mvuori 2011-08-14 08:09

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by prankster (Post 1069551)
@youmeego ( off-topic )
nope this cant be used for hamattan devices .N9 requires MeeGo 1.2 Harmattan Platform SDK

Not true.

You refer to Nokia Qt SDK. There is a difference between Nokia Qt SDK and Qt SDK. The latter should be used nowadays and in its latest version supports Harmattan.

prankster 2011-08-14 09:04

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by mvuori (Post 1069558)
Not true.

You refer to Nokia Qt SDK. There is a difference between Nokia Qt SDK and Qt SDK. The latter should be used nowadays and in its latest version supports Harmattan.

first post edited .:)

youmeego 2011-08-14 09:09

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
this thread shpould be made sticky!

figaro 2011-08-14 09:12

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
I think you should also point out that Maemo SDK is not available by default on the latest Qt offline installer, and should be downloaded using Qt Package Manager afterwards

prankster 2011-08-14 11:23

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
There are 2 different projects:
- Qt Sdk 1.1 http://labs.qt.nokia.com/2011/05/04/...-1-1-released/
- Nokia Qt SDK

Nokia Qt SDK should have been merged into Qt up till now as they stated once, but for now they are separated,still, so if you want to develop for mobile, you should download the Qt SDK.
Once you install it, you can find example mobile applications under the folders Demos and Examples as well as create your own ones.so hope you go well with this .

cutehunk04 2011-08-14 16:53

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
i dont know anything about c++, can i be able to make application from QT..if i download the QT ?

prankster 2011-08-14 17:11

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by cutehunk04 (Post 1069772)
i dont know anything about c++, can i be able to make application from QT..if i download the QT ?

i guess topic explains itself in quite a simple manner .and yes ,you should be IF you think you care to read and follow the instructions ,do some googling and thats all .you got it .:rolleyes:

mr_jrt 2011-08-14 17:20

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
I'd recommend against editing the debian folder. It's an output folder.

The direction you actually want to edit is in <project>\qtc_packaging\debian_fremantle

I would also firmly suggest against creating the desktop file by hand. You can create it inside Qt Creator by going to the project settings, then the run configuration. Expand the create package and deploy to device sections and you'll find everything you need in there.

mikecomputing 2011-08-14 17:32

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Nice with new totorials but this guide seems to point how to use Qt Widget GUI who is deprecated and often bloated on handset.

new developer should learn qtquick/qt-components if you want to be compatible with meego and/or n9/n950 and n900CE.

prankster 2011-08-14 17:59

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by mikecomputing (Post 1069790)
Nice with new totorials but this guide seems to point how to use Qt Widget GUI who is deprecated and often bloated on handset.

new developer should learn qtquick/qt-components if you want to be compatible with meego and/or n9/n950 and n900CE.

there is almost every thing you need to develop anything on N900,regarding meego or maemo .it just depends how much you want to learn ,how much you want to give panic to yourself .And also to be a real good developer .you may choose whatever you want to do .

mr_jrt 2011-08-15 11:32

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by mikecomputing (Post 1069790)
Nice with new totorials but this guide seems to point how to use Qt Widget GUI who is deprecated and often bloated on handset.

new developer should learn qtquick/qt-components if you want to be compatible with meego and/or n9/n950 and n900CE.

What? Bloated? Deprecated? What are you on about?

It's not deprecated at all. The best practises might point to QtQuick (as you say, for compatibility with Meego)...but QWidget is a better choice for the N900 anyway as all the newer stuff isn't properly supported.

prankster 2011-08-15 12:20

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
This tutorial explains How to develop for N900 and it includes Meego deployment on the device as well.You may do some work on your own .Use your head as well.As it has never been so easy to be a developer .It takes time .
If you own an N9 ,you may follow this guide line.http://doc.qt.nokia.com/sdk-1.1/crea...ing-maemo.html .But i believe whoever has a N9 ,will be already holding a developer degree .duh

corduroysack 2011-08-15 15:42

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
i must be missing something i've downloaded qt creator but when i go to file- new file or project and click on mobile Qt Application i only get up the symbian option/desktop and simulator not maemo. do i need to download anything more? sorry for noob question.

found an update called Maintain Qt SDK package manager which looks promising

prankster 2011-08-15 15:50

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
you probably have only installed the Nokia Qt SDK ,beside that you also need to install Qt SDK ,which lies here .http://qt.nokia.com/downloads
prefer Offline installation,as it has maemo tool features than the online one .or perhaps you will have to get it later on .
further guys if you want to work through Qt .precisely get some help from here .http://qt.nokia.com/learning/online/...ation-creation
video tutorial regarding making an application might be handy for ya .

marxian 2011-08-15 15:52

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by corduroysack (Post 1070358)
i must be missing something i've downloaded qt creator but when i go to file- new file or project and click on mobile Qt Application i only get up the symbian option/desktop and simulator not maemo. do i need to download anything more? sorry for noob question.

I believe the Maemo target is no longer in the default installation of Qt Creator. If you launch SDK Maintenance Tool, you should be able to install the Maemo target from there.

kojacker 2011-08-15 15:53

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Good work on the tutorial prankster :) There are a few beginners tutorials on the Development section, but it's always good to have more :cool:

To anyone starting out with development, I'd also recommend checking out the gret newbie sticky tutorial on the development forum - http://talk.maemo.org/showthread.php?t=43663. It also walks through creating your first Qt Studio project and uploading to the N900. You might also want to check out the tutorials in my signature, they focus more specifically on playing sounds and using the accelerometer (for example). And there are lots of hints and tips everywhere on the maemo.org Development forum.. it's good to get ideas from everywhere :)

Quote:

Originally Posted by mr_jrt (Post 1070158)
What? Bloated? Deprecated? What are you on about?

It's not deprecated at all. The best practises might point to QtQuick (as you say, for compatibility with Meego)...but QWidget is a better choice for the N900 anyway as all the newer stuff isn't properly supported.

I think what mikecomputing is getting at is that QML is the bright shiny future and QWidget is on the way out the door as far as the Qt project goes. But there's nothing stopping use of QWidget on the N900, as you say it's still available and certainly not deprecated at this time.

N900L 2011-08-16 10:17

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
can you make an example for a rss reader application
?

N900L 2011-08-16 10:24

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
do i have to add qwebview to make the app show web content?
like rss feeds?

jerryfreak 2011-08-16 10:27

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
thanks, im a newb and will give it a try!!!!!

prankster 2011-08-16 10:45

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
i think it will be difficult to address the every aspect of Qt use .you better learn it through your own means .
For web content :http://doc.qt.nokia.com/4.7-snapshot/qtwebkit.html

N900L 2011-08-16 11:08

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
i think this needs c++ knowledge
is anyone here a developer that learned by himself developing apps?
If so tell us how you did learn it.

scoobydoo 2011-08-16 13:34

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
after following guide i'm not getting a result of the sum in results box this is my mainwindow.cpp if you can help as scratching my head all night am newbie to coding thanks.

// checksum 0xa193 version 0x30001
/*
This file was generated by the Mobile Qt Application wizard of Qt Creator.
MainWindow is a convenience class containing mobile device specific code
such as screen orientation handling.
It is recommended not to modify this file, since newer versions of Qt Creator
may offer an updated version of it.
*/

#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <QtCore/QCoreApplication>

MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent), ui(new Ui::MainWindow)
{
ui->setupUi(this);
}

MainWindow::~MainWindow()
{
delete ui;
}

void MainWindow::setOrientation(ScreenOrientation orientation)
{
#if defined(Q_OS_SYMBIAN)
// If the version of Qt on the device is < 4.7.2, that attribute won't work
if (orientation != ScreenOrientationAuto) {
const QStringList v = QString::fromAscii(qVersion()).split(QLatin1Char(' .'));
if (v.count() == 3 && (v.at(0).toInt() << 16 | v.at(1).toInt() << 8 | v.at(2).toInt()) < 0x040702) {
qWarning("Screen orientation locking only supported with Qt 4.7.2 and above");
return;
}
}
#endif // Q_OS_SYMBIAN

Qt::WidgetAttribute attribute;
switch (orientation) {
#if QT_VERSION < 0x040702
// Qt < 4.7.2 does not yet have the Qt::WA_*Orientation attributes
case ScreenOrientationLockPortrait:
attribute = static_cast<Qt::WidgetAttribute>(128);
break;
case ScreenOrientationLockLandscape:
attribute = static_cast<Qt::WidgetAttribute>(129);
break;
default:
case ScreenOrientationAuto:
attribute = static_cast<Qt::WidgetAttribute>(130);
break;
#else // QT_VERSION < 0x040702
case ScreenOrientationLockPortrait:
attribute = Qt::WA_LockPortraitOrientation;
break;
case ScreenOrientationLockLandscape:
attribute = Qt::WA_LockLandscapeOrientation;
break;
default:
case ScreenOrientationAuto:
attribute = Qt::WA_AutoOrientation;
break;
#endif // QT_VERSION < 0x040702
};
setAttribute(attribute, true);
}

void MainWindow::showExpanded()
{
#ifdef Q_OS_SYMBIAN
showFullScreen();
#elif defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
showMaximized();
#else
show();
#endif
}

void MainWindow::on_sum_clicked()
{
int number1 = ui->number1->text().toInt();
int number2 = ui->number2->text().toInt();
int result = number1 + number2;
ui->sum->setText(QString::number(result));
}

te37v 2011-08-16 14:06

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Scooby Doo By DOOOO!!!! My favorite show ever! (As a kid)

prankster 2011-08-16 14:45

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
guys just like you i myself a learner ,NOT A DEVELOPER at the moment .i can post loads n loads of links here ,coding is not a child's play and also remember this is the first time you doing any developmental work .So be good .
you better start with tutorials ,even though i have already requested you to check the all links i posted on the first post .Anyway! Learn with any example ,make friends who already have developed some thing for maemo .ask thier help .And if you think you are a good learner .Check this :http://www.developer.nokia.com/docum...Qt/QtForMaemo/ ( this is another project -tictactoe Tutorial )
may the community be with you !

prankster 2011-09-08 07:07

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
any one has started developing yet through these tutorials ?

samontab 2011-11-28 20:29

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Just in case you want to see the original post :)

http://www.samontab.com/web/2011/01/...n900-using-qt/

I have a couple of other tutorials as well...

luketanti 2012-03-26 14:37

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
I followed your instructions and successfully compiled the program but in my project folder I do not see .deb file. I choose build all but nothing. How can I use QT creator to make deb file?? I am using QT Creator 2.4.1

gionni88 2012-03-26 16:48

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
To create the deb package you have to hit "Run". With Build all you only build the binary file.

luketanti 2012-03-29 15:29

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Quote:

Originally Posted by gionni88 (Post 1184303)
To create the deb package you have to hit "Run". With Build all you only build the binary file.

I can not press run. This is what I have.http://img163.imageshack.us/img163/7461/60511360.jpg

imo 2012-07-02 11:33

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
Can any one put some light on new Qt creator usage and Qt sdk ?
I would love to start developing but really have got no clue at all .Just pinch me to the right way ! thanks in advance !

kyllerbuzcut 2012-07-02 12:03

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
just found this thread. I'm going to give it a try and make something.Don't now what yet, but It'l be the best one of it ever lol.
Would I be able to use anything created on my n900 AND my android phone? Is that even an option, or am I talking about something else entirely?

VinnyLT 2013-12-12 00:20

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
great post. I'm going to try this this weekend. i've always wanted to learn.

hardy_magnus 2013-12-12 16:26

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
I was using debian wheezy and had qt installed but there was some "toolchain" missing, dont know wat that is . Only qt quick was working. Can somebody tell me wat that is and how can i get it.

Dave999 2013-12-12 17:04

Re: ( A tutorial ) Create your own first application for N900 using Qt.
 
http://www.thelins.se/johan/blog/201...s-is-released/

Is this a good book to learn Qt. Will it run with jolla sDK?


All times are GMT. The time now is 16:01.

vBulletin® Version 3.8.8