Results 1 to 4 of 4

Thread: Compile and deploy to Windows CE

  1. #1
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Compile and deploy to Windows CE

    Hi! I found many documents about this around, but I still can't understand how the procedure works. I'm working with Windows Vista and I need to compile a Qt application for a device running Windows CE. As far as I can understand, the concept is that I need to compile a version of Qt libraries for Windows CE and store them on my pc. After this, I have to create a project for Visual Studio (I use VS 2008), set it to compile for Windows CE (I have the necessary SDK), and build linking to the Qt libraries I have for Windows CE. Is this correct? After the sources are compiled for the Windows CE platform, I can copy the file to the device and run it, assuming libraries for Qt are correctly installed.
    My question is: how do I compile a version of Qt libraries for Windows CE under Windows Vista? And then, when I open my project with Visual Studio, how do I set it so that it links to the correct libraries of Qt compiled for Windows CE? I read this, but I'm really finding it difficult to understand what I need to do: http://doc.trolltech.com/4.6/windows...omization.html.
    Thanks for any advice!

  2. #2
    Join Date
    Sep 2009
    Posts
    20
    Thanked 2 Times in 2 Posts

  3. The following user says thank you to lasher for this useful post:

    Luc4 (7th February 2010)

  4. #3
    Join Date
    Jan 2010
    Posts
    190
    Thanks
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Compile and deploy to Windows CE

    When I try to configure I get:

    Qt Code:
    1. link -OUT:qmake.exe project.obj main.obj makefile.obj unixmake.obj unix
    2. make2.obj mingw_make.obj option.obj winmakefile.obj projectgenerator.obj proper
    3. ty.obj meta.obj makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.ob
    4. j borland_bmake.obj msvc_nmake.obj msvc_dsp.obj msvc_vcproj.obj msvc_objectmod
    5. el.obj symmake.obj initprojectdeploy_symbian.obj symmake_abld.obj symmake_sbsv2
    6. .obj qbitarray.obj qbuffer.obj qcryptographichash.obj qfsfileengine.obj qfsf
    7. ileengine_iterator.obj qbytearray.obj qvsnprintf.obj qbytearraymatcher.obj q
    8. datetime.obj qdir.obj qdiriterator.obj qfile.obj qtemporaryfile.obj qabstra
    9. ctfileengine.obj qfsfileengine_win.obj qfsfileengine_iterator_win.obj qfilein
    10. fo.obj qglobal.obj qhash.obj qiodevice.obj qlist.obj qlinkedlist.obj qloca
    11. le.obj qmalloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstri
    12. ng.obj qstringlist.obj qtextstream.obj qdatastream.obj quuid.obj qvector.ob
    13. j qsettings.obj qlibraryinfo.obj qvariant.obj qurl.obj qsettings_win.obj q
    14. metatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj ole32.lib advapi32.lib
    15.  
    16. Microsoft (R) Incremental Linker Version 9.00.21022.08
    17. Copyright (C) Microsoft Corporation. All rights reserved.
    18.  
    19. copy qmake.exe C:\Qt\2010.01\windowsce-vs2008-shadow\bin\qmake.exe
    20. 1 file copiati.
    21. Creating makefiles in src...
    22. Generating Visual Studio project files...
    23. Could not find mkspecs for your QMAKESPEC(wince50standard-armv4i-msvc2008) after
    24. trying:
    25. C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    26. ate_more/Troll/4.6/qt\mkspecs
    27. Error processing project file: C:/Qt/2010.01/qt/projects.pro
    28. Qmake failed, return code 3
    29.  
    30. Generating Makefiles...
    31. Could not find mkspecs for your QMAKESPEC(wince50standard-armv4i-msvc2008) after
    32. trying:
    33. C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    34. ate_more/Troll/4.6/qt\mkspecs
    35. Error processing project file: C:/Qt/2010.01/qt/projects.pro
    36. Qmake failed, return code 3
    37.  
    38.  
    39. C:\Qt\2010.01\windowsce-vs2008-shadow>
    To copy to clipboard, switch view to plain text mode 

    Any idea why?
    Thanks!

  5. #4
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compile and deploy to Windows CE

    Have you tried downloading the vs2008 version of qt, and not the sdk? look around for it, it's an exe file in ftp://ftp.trolltech.com

Similar Threads

  1. Can't get Qt SDK to compile (Windows)
    By mrlucmorin in forum Installation and Deployment
    Replies: 3
    Last Post: 30th June 2010, 15:36
  2. How do I compile for linux on windows?
    By waitingforzion in forum Newbie
    Replies: 4
    Last Post: 28th December 2009, 07:51
  3. Deploy on Windows XP ?
    By Anti in forum Newbie
    Replies: 3
    Last Post: 24th September 2009, 21:19
  4. Program in Windows, Deploy in Linux
    By suitto in forum Installation and Deployment
    Replies: 1
    Last Post: 8th April 2009, 13:11
  5. How to deploy Qt-dlls for windows
    By niko in forum Installation and Deployment
    Replies: 5
    Last Post: 18th March 2007, 18:11

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.