Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Windows CE development / VS problems

Windows CE development / VS problems

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 3 Posters 8.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    paul2231
    wrote on last edited by
    #3

    Hi
    How do I build for the standard CE 5.0 then ?
    Do I need the platform builder, and does that come with VS ?
    Thanks.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      paul2231
      wrote on last edited by
      #4

      I have downoaded and installed Windows Mobile 5.0 Pocket PC SDK.msi
      checksdk -list now gives a lot more options.

      However
      when I run nmake I get
      cl .....
      C:\Program Files (x86)\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Include\Armv4i\winreg.h(157) : error C2061: syntax error : identifier '__opt'

      cl is the correct arm version ?:
      cl
      Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50725 for ARM
      Copyright (C) Microsoft Corporation. All rights reserved.

      and for nmake:
      nmake -h
      Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
      Copyright (C) Microsoft Corporation. All rights reserved.

      Note: nmake is in a different directory from cl

      1 Reply Last reply
      0
      • P Offline
        P Offline
        paul2231
        wrote on last edited by
        #5

        I have managed to get it to go a bit further, but now I get a missing gmtime function

            link /LIBPATH:"c:\QtSDK\qt-everywhere-opensource-src-4.7.4\lib" /LIBPATH
        

        :"c:\QtSDK\qt-everywhere-opensource-src-4.7.4\lib" /NOLOGO /NODEFAULTLIB:OLDNAME
        S.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,5.00 /MACHINE:THUMB /DLL /VERSION:4.74 /OUT:..
        ..\lib\QtGuid4.dll @C:\Users\Paul\AppData\Local\Temp\nmFD65.tmp
        Creating library ....\lib\QtGuid4.lib and object ....\lib\QtGuid4.exp
        pngwrite.obj : error LNK2019: unresolved external symbol gmtime referenced in fu
        nction png_convert_from_time_t

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mohsen
          wrote on last edited by
          #6

          hey dude! I just created a Wiki page and completely described
          "Look at there":http://developer.qt.nokia.com/wiki/Building-Qt-4.7.4-for-WindowsCE-StandardSDK

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SteveKing
            wrote on last edited by
            #7

            @mohsen

            I've just added a quick note on the bottom of the wiki about the problems with WinCE5 memory limits.

            There was an excellent presentation about this at DevDays 2009 but I can't find it any more, do you remember anything about that?

            1 Reply Last reply
            0
            • P Offline
              P Offline
              paul2231
              wrote on last edited by
              #8

              Hi
              That final problem was a bug in the souce - I have commented out PNG_CONVERT_tIME_SUPPORTED in pnglibconf.h and it worked fine.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mohsen
                wrote on last edited by
                #9

                [quote author="SteveKing" date="1323689789"]@mohsen
                I've just added a quick note on the bottom of the wiki about the problems with WinCE5 memory limits.

                There was an excellent presentation about this at DevDays 2009 but I can't find it any more, do you remember anything about that?[/quote]

                Thanks for sharing your experience!
                Actually i've not ever heared about that. Usually i prefer dynamic loading libraries on embedded devices due to memory limits on this sort of devices. Did you have same result on Embedded Linux? One idea is that because the architecture of ARM processors.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  paul2231
                  wrote on last edited by
                  #10

                  I think CE 5.0 only supports 32MB of program+data space (and max 32 processes also). This is fixed in CE 6.0

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    paul2231
                    wrote on last edited by
                    #11

                    VS2005 Standard still keeps crashing under Win7-64 bit.
                    Would it be safe to use VS2010 instead to cross-compile Windows Mobile/CE applications ?
                    I just thouht I would ask before buying it.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SteveKing
                      wrote on last edited by
                      #12

                      @paul:

                      I'm not sure if VS2010 can compile for WinCE, it certainly couldn't a year or so ago but it might be okay now.

                      Is the VS2005 crash happening when you try to compile the Qt libraries from within the tool? I've found that I can only compile QtScript from the command line as it always crashes VS2005 when I load it.

                      @mohsen:

                      It's a WinCE5 thing which is a real pain! I haven't heard that any other OS's have this problem.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved