Re: [Qtei] Which IDE for Development?
Radek Polak wrote: > Mikko Husari wrote: >> Im having some problems and, well, turning for your advice. I created a >> project and got it ported nicely but the window shows up in the top-left >> corner on moko display and, it is not fullscreen... it also lacks the >> theme of qte, so it looks gray. I studied the examples in qte build dir >> and noticed that those use some macros to create the main(), after hours >> of try and error I gave up. >> >> Do you use those macros to create your main, and if not, how do you >> manage to make your app fullscreen and with the correct theme > Hi Mikko, > i havent get to figuring this out it yet. You can use the standard main > e.g. from examples/application and maybe derive the main calls from > QMainWindow. > > If i find some more things i will let you know. > > Radek I have moved the project inside Qtopia source code tree and now after rebuild it has correct theme and is fullscreen. You can check my small project: http://github.com/radekp/qtmoko/tree/8e3d4d6bbe6a13f947014bdc45c2c1abe22bbf23/src/3rdparty/applications/qmplayer Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radek Polak wrote: > Hi Mikko, > i have already something descibed it in previous mail. But in more > details it's like that: > > Let's say you have working project for X11/QT in QTCreator. Moro Radek! Im having some problems and, well, turning for your advice. I created a project and got it ported nicely but the window shows up in the top-left corner on moko display and, it is not fullscreen... it also lacks the theme of qte, so it looks gray. I studied the examples in qte build dir and noticed that those use some macros to create the main(), after hours of try and error I gave up. Do you use those macros to create your main, and if not, how do you manage to make your app fullscreen and with the correct theme? I appreciate all the help you have given and are hoping to receive some nice pointers again. So, kudos in advance. - -- husku -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknyBacACgkQYntoxOJkGJJwUACeKmvT47KNLn+YXgpBpAKdhCn5 CR0AoKq2Z8KOUSo0XX6AzHccwgtEl3Jq =TIhN -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radek Polak wrote: > Hi Mikko, > i have already something descibed it in previous mail. But in more > details it's like that: > Holy Crap Batman! I saw your first description but I did not realize it was all what was needed :) - -- husku -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknwuQUACgkQYntoxOJkGJL36wCgqPpllfrgMuQvQi/RKlpMW+GA DDEAoLBOHsC5vnyc1aW+FCNNZvWfoIKR =jlo5 -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
Mikko Husari wrote: > Would you mind elaborating the steps of "porting" since your way of > development sounds good, it removes much of the hassle as its not needed > to cross-compile every so often. Do you mean by porting that you need to > make changes to your code, or to just compile it differently? Hi Mikko, i have already something descibed it in previous mail. But in more details it's like that: Let's say you have working project for X11/QT in QTCreator. If you want to "port" it to Qtopia, just copy it somewhere and do: $QPEDIR/bin/qbuild -project for this you will need to have working build of Qtopia as is described here [1] This will create qbuild.pro for you. Now just type $QPEDIR/bin/qbuild and you have binary that is ready to run on Neo. I am also using #ifdef QT_QWS_FICGTA01 some Neo specific stuff #endif It should be quite easy. Good luck Radek [1] http://wiki.openmoko.org/wiki/Qt_Extended_Improved ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Radek Polak wrote: > Roland wrote: > >> how do you run (and debug) the Qte applications on your PC? I know that Qte >> can be build for qtfb (or something like that) but I had some compile errors >> and didn't try again. Do you use this? > > I write the application just as normal QT application. Running and > debugging on regular QT/X11. When i am done with coding and debugging > i just "port" the application to QTE. > >> How do you import the project into Qt Creator? Is there a project file in >> the git repository or does Qt Creator work just with the Makefile? > > I start the app as normal QT application. Then i "port" it to QTE. > This is possible because Qtopia contains all the classes as "big" > QT has. > > It's my first application and first program that i wrote in C++ so > there might appear problems with this approach, but right now it > works just fine. > > Radek > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community Moro, Would you mind elaborating the steps of "porting" since your way of development sounds good, it removes much of the hassle as its not needed to cross-compile every so often. Do you mean by porting that you need to make changes to your code, or to just compile it differently? - -- husku -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknwml0ACgkQYntoxOJkGJIUlwCZAQq5QQEi0616KrvGs7yHOZF2 NU8An2SWvrty6zUjvo83LPXVn3sKoa1J =YRFg -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
RE: [Qtei] Which IDE for Development?
Hello husku, > This article came as a surprise to me, maybe to you too: > > http://wiki.openmoko.org/wiki/QtCreator_C%2B%2B/Qt You are right, I didn't know that article. So the topic IDE for app development seems to be covered. Does anyone have an idea for developing apps using the Qtextended specific classes or Qtextended itself? Roland ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
> http://wiki.openmoko.org/wiki/QtCreator_C%2B%2B/Qt well, you probaly can do with eclipse and trolltech's qt plugin as well. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
Roland wrote: > Hello all, > > I want to get a little more involved in development for Qtei. Especially > after Franky's cry for help. Franky: I have to agree with Leonardo - great > work! To you and everybody else working on Qtei - I'm really impressed with > the improvements in the last months. > So why am I writing this mail... > I have downloaded the sources of Qtextended and also built it a couple of > times. I also did a checkout of the new git repository and that worked for > me as well. But any changes I made I had to type into a plain text editor > and that is kind of annoying. > > Is there any IDE one can use for the development? > Coming from software development with Qt Desktop I think I would be able to > contribute, but working with a normal editor is not really fun. > This article came as a surprise to me, maybe to you too: http://wiki.openmoko.org/wiki/QtCreator_C%2B%2B/Qt -- husku ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
Roland wrote: > how do you run (and debug) the Qte applications on your PC? I know that Qte > can be build for qtfb (or something like that) but I had some compile errors > and didn't try again. Do you use this? I write the application just as normal QT application. Running and debugging on regular QT/X11. When i am done with coding and debugging i just "port" the application to QTE. > How do you import the project into Qt Creator? Is there a project file in > the git repository or does Qt Creator work just with the Makefile? I start the app as normal QT application. Then i "port" it to QTE. This is possible because Qtopia contains all the classes as "big" QT has. It's my first application and first program that i wrote in C++ so there might appear problems with this approach, but right now it works just fine. Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
RE: [Qtei] Which IDE for Development?
Hello Radek, how do you run (and debug) the Qte applications on your PC? I know that Qte can be build for qtfb (or something like that) but I had some compile errors and didn't try again. Do you use this? How do you import the project into Qt Creator? Is there a project file in the git repository or does Qt Creator work just with the Makefile? Many simple questions... please excuse this, but since I am usually developing on a Windows machine (99.9% of our customers are running Windows) I'm not so familiar with the whole build and development process under Windows. Thanks, Roland > -Original Message- > From: community-boun...@lists.openmoko.org [mailto:community- > boun...@lists.openmoko.org] On Behalf Of Radek Polak > Sent: Wednesday, April 22, 2009 10:04 AM > To: List for Openmoko community discussion > Subject: Re: [Qtei] Which IDE for Development? > > Roland wrote: > > > Is there any IDE one can use for the development? > > Coming from software development with Qt Desktop I think I would be > able to > > contribute, but working with a normal editor is not really fun. > > For new application I am using QT Creator - very nice IDE with > integrated debugger, completion and other stuff. I build the > and debug the application on PC and then just compile for QTE. > > > Also: Is there a way to debug the newly written applications? > > QT creator has debugger integrated. If you ever need to debug > on Neo, you can use gdb. > > > I am willing to install any Linux distribution and any package needed > for > > development - but I have to admit I don't have a clue what to > install. > > Just clone QTE git and build it. > > http://wiki.openmoko.org/wiki/Qt_Extended_Improved > > If you have application working on PC with creator then just do: > > /path_to_your_qte/build/bin/qmake -project > /path_to_your_qte/build/bin/qmake > > Copy the binary to Neo, login via SSH, do: > > source /opt/Trolltech/Qtopia/qpe.env > ./your_app > > > > Any comment and recommendation is welcome! > > Roland > > Any new and useful application are welcome :) > > Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
Roland wrote: > Is there any IDE one can use for the development? > Coming from software development with Qt Desktop I think I would be able to > contribute, but working with a normal editor is not really fun. For new application I am using QT Creator - very nice IDE with integrated debugger, completion and other stuff. I build the and debug the application on PC and then just compile for QTE. > Also: Is there a way to debug the newly written applications? QT creator has debugger integrated. If you ever need to debug on Neo, you can use gdb. > I am willing to install any Linux distribution and any package needed for > development - but I have to admit I don't have a clue what to install. Just clone QTE git and build it. http://wiki.openmoko.org/wiki/Qt_Extended_Improved If you have application working on PC with creator then just do: /path_to_your_qte/build/bin/qmake -project /path_to_your_qte/build/bin/qmake Copy the binary to Neo, login via SSH, do: source /opt/Trolltech/Qtopia/qpe.env ./your_app > Any comment and recommendation is welcome! > Roland Any new and useful application are welcome :) Radek ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
Roland wrote: > Hello all, > > I want to get a little more involved in development for Qtei. Especially > after Franky's cry for help. Franky: I have to agree with Leonardo - great > work! To you and everybody else working on Qtei - I'm really impressed with > the improvements in the last months. > So why am I writing this mail... > I have downloaded the sources of Qtextended and also built it a couple of > times. I also did a checkout of the new git repository and that worked for > me as well. But any changes I made I had to type into a plain text editor > and that is kind of annoying. > > Is there any IDE one can use for the development? You can try the kdevelop out of the neo vmware sdk. There are some scripts in there to use to help, although it is not totally integrated. You can use QtCreator to edit, but again, it's not integrated and it knows nothing about qbuild, same as KDevelop. Qtopia/Qt Extended development was always using an editor, a console and maybe designer. > Coming from software development with Qt Desktop I think I would be able to > contribute, but working with a normal editor is not really fun. > > Also: Is there a way to debug the newly written applications? gdb, or kdbg. Again there is helper scripts and stuff in the sdk. > > I am willing to install any Linux distribution and any package needed for > development - but I have to admit I don't have a clue what to install. Needs vmplayer (or virtualbox) http://qtextended.org/modules/mydownloads/visit.php?lid=78 > > Any comment and recommendation is welcome! > Roland > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > -- Lorn 'ljp' Potter Software Engineer, Qt Software R&D, Nokia Pty Ltd ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [Qtei] Which IDE for Development?
On Tue, 21 Apr 2009 23:37:18 +0200 "Roland" wrote: > Hello all, > > I want to get a little more involved in development for Qtei. > Especially after Franky's cry for help. Franky: I have to agree with > Leonardo - great work! To you and everybody else working on Qtei - > I'm really impressed with the improvements in the last months. tx! > So why am I writing this mail... > I have downloaded the sources of Qtextended and also built it a > couple of times. I also did a checkout of the new git repository and > that worked for me as well. But any changes I made I had to type into > a plain text editor and that is kind of annoying. > > Is there any IDE one can use for the development? > Coming from software development with Qt Desktop I think I would be > able to contribute, but working with a normal editor is not really > fun. > > Also: Is there a way to debug the newly written applications? > > I am willing to install any Linux distribution and any package needed > for development - but I have to admit I don't have a clue what to > install. > > Any comment and recommendation is welcome! > Roland well, I'm a linux man, and a fervent vi-user. So I do all my work commandline-based, no IDE :-) But according to this: http://qtextended.org/modules/xoopsfaq/index.php?cat_id=2#9 it seems there exists at least one IDE for windows, and another for linux. I have fedora 10 installed, and it has kdevelop in its repositories. Franky ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community