View Single Post
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#8
Originally Posted by ahmadka View Post
Ok based on what you just said, I figured out what the problem was .. The project I was trying to run on the Qt Simulator was of 'Qt Gui Application' type, while the application you mentioned that I use is 'Mobile Qt Application' .. I just created a new dummy Qt Mobile Project and ran that and it runs on the Qt Simulator ...

Can I convert my existing project to a 'Mobile Qt Application' type as well ?
Haha, 1st I am happy I was able to help.

Well, again, I am not very deep into Qt yet to tell you the differences between desktop and mobile.
You should :
1. Create a new "Qt GUI Application" - leave it empty, save it and close it.
2. Create a new "Mobile Application" - save it and close it.
3. Close Qt Creator.
4. Using your favorite text editor, (if windows, I suggest PSPad or Notepad++), check for differences in the qtmain.cpp file, project.pro file and mainwindow.cpp/h files. Try to find what makes it "Mobile" and make the proper adaptations.
5. Also you could just copy what you have written so far to a new project.
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |