Results 1 to 3 of 3

Thread: USe Qt Creator for windows mobile projects

  1. #1
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default USe Qt Creator for windows mobile projects

    I've setup the Qt framework and Qt Creator correctly, and everything works fine for windows development. There is only one small question left: Is it, in any way, possible to use Qt Creator also for windows mobile development? I've compiled the framework for windows mobile and it works using Visual Studio 2010, but I would prefer Qt Creator over Visual Studio for Qt development..

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: USe Qt Creator for windows mobile projects

    currently windows mobile sdk does not work with QtCreator.

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: USe Qt Creator for windows mobile projects

    Quote Originally Posted by MrDeath View Post
    currently windows mobile sdk does not work with QtCreator.
    Thank you for the reply! I now that the windows mobile sdk is not supported by default from Qt Creator, but I've seen that you can add different Qt versions in Qt Creator (Tools/Settings/Qt4/Versions). Is it possible to add the windows mobile version of Qt there and then use this version to build a windows mobile executable? (I know that there would be no support for deploying and debugging..)

    Ok, I've played a bit with the settings above, but I stell get an error. It seems that it is maybe possible to use Qt Creator to build a windows mobile app, but at the moment I'm in trouble with an error I don't understand.

    I've added some custom build steps in the project config to setup the visual studio and windows mobile sdk environment. Setting up the visual studio environment works (as I can see in the compile output). But I get an error using the "setcepaths.bat" script for setting up the windows mobile sdk. The error is "Could not find any installed SDK, aborting!" and then it trys to launch "tmp_created_script_setup.bat" which it can't find (I don't added this as build step). Then it launches qmake which works without errors. At least it trys to compile everything using jom.exe (a nmake alternative using multicore) which throws the following error: "Cannot open include file: 'stddef.h'. I've also tried using nmake which throws the same error.

    After searching a bit I've found out that stddef.h is related to mingw which should not be used as the compiler in this project (never have set it up). When I open a new command window and enter all the build steps manually, I end up with the expected executable without any errors..

    So, any ideas what is the difference between running the build scripts in a command window and running them in Qt Creator?

    Greetings
    Last edited by BenPa; 15th February 2010 at 15:56. Reason: Added new information I got trying to make it run

Similar Threads

  1. How to Run Sqlite in Windows Mobile
    By Comptrol in forum Qt Programming
    Replies: 0
    Last Post: 26th June 2009, 12:19
  2. Windows Mobile Query
    By tntcoda in forum Qt Programming
    Replies: 1
    Last Post: 8th April 2009, 15:06
  3. how to port Qt windows application to mobile
    By pallavi Boyapat in forum Qt Programming
    Replies: 8
    Last Post: 26th January 2009, 13:57
  4. QSystemTrayIcon on Windows Mobile 5
    By lovelypp in forum Qt Programming
    Replies: 0
    Last Post: 12th July 2008, 15:57
  5. Windows mobile 6 deployment
    By Gilles.Bordas in forum Installation and Deployment
    Replies: 4
    Last Post: 7th July 2008, 11:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.