Howto build QT for windows mobile 6 and make it work in QtCreator



  • All,

    i'm trying to build a QT version 4.8.4 builded for windows mobile 6 and make it work in QTCreator 2.4.1

    • i have visual studio 2008 + SP1 installed
    • i installed the Mobile 6 SDK from MS
    • i downloaded the qt source and could build something:
      - set some paths:

    set QT_PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
    set QT_INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Include\Armv4i
    set QT_LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\Program Files (x86)\Windows Mobile 6 SDK\PocketPC\Lib\Armv4i

      - configure -prefix .... -stl -no-exceptions -no-rtti -no-qt3support -no-webkit -no-style-plastique -no-style-cleanlooks -no-style-motif -no-style-cde -no-style-s60 -nomake examples -nomake demos -qt-sql-sqlite -plugin-sql-sqlite - platform win32-msvc2008 -platformx  wincewm60professional-msvc2008
    
      - call setcepaths.bat wincewm60professional-msvc2008
    

    It build perfectly so it seems, but when i try to add this version in qt creator it tells me no toolchain has been linked to it.
    It also tells me that the ABI = arm-windows-ce-pe-unknown, mkspec = wincewm60professional-msvc2008

    Does anyone know how to solve this or what i'm doing wrong?

    Thanks!



  • IS this the correct forum? Every question of me returns zero answers... am i speaking strangly and unclear?



  • Hi!
    Yes it is correct forum. Perhaps there are no any one who knows right answer to your question for now.
    I am never develop for windows mobile but found this:
    "http://jeffrey-parker.com/blog/fuze/building-windows-mobile-apps-using-qt/":http://jeffrey-parker.com/blog/fuze/building-windows-mobile-apps-using-qt/



  • Thx for the reply! Well i already had that source. The problem is not really building the qt version. I can create for example a mobile 6 application using the VS plugin and the version i build myself. The biggest problem lies within QtCreator. It doesn't recognize the toolchain linked to the version i build.

    And i can't really find any solution on this. Maybe i should use the latest qtcreator (because currently i used the SDK 1.2.1, which included Qtcreator 2.4.1. Maybe it has something todo with that...

    we'll see. At least i'm not talking unclear :)



  • The actual solution was indeed using the latest qt creator. For some reason, the toolchain was not recognized as it should. The latest qt creator still gives errors on recognizing it all, but it build perfectly. And i was able to run my application on the mobile emulator from MS.

    regards



  • Great to hear!
    It's sad that nobody have answer, probably wp6 is not so popular in qt community :(



  • Hello AngelsRaven,

    I was wondering if you could help me because you succesfully used Qt Visual studio Add-in. I have followed the same steps you did and qt compiles and installs well. Also I installed VS Add-in but when I'm trying to add the versión It says that I don't have windows mobile sdk, but I have checked with checksdk -list in VS Command prompt and it says that I have this sdk installed. I'm giving up with this.

    Thanks in advance


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.