Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. problem configurating qt for vs2008
Forum Updated to NodeBB v4.3 + New Features

problem configurating qt for vs2008

Scheduled Pinned Locked Moved Unsolved General and Desktop
43 Posts 3 Posters 18.4k Views 3 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.
  • H Hamed
    19 May 2017, 19:19

    @mrjj said in problem configurating qt for vs2008:

    oh btw did u install service packs for 2008 ?

    I don't know, I installed vs08 professional and there was wince standard sdk and I installed that too, I wrote some code for wince in vs08 and they worked fine, but I like to use qt for that.

    if you tell me what service pack I should install more I will find that.

    M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 19 May 2017, 19:20 last edited by
    #15

    @Hamed
    SP 1 at least.
    https://www.microsoft.com/en-us/download/details.aspx?id=10986

    H 1 Reply Last reply 19 May 2017, 19:24
    1
    • M mrjj
      19 May 2017, 19:19

      oh, also , it seems to be a commercial options.
      So it must mean you have a license.
      So you can get dedicated direct help if you contact them. \o/

      H Offline
      H Offline
      Hamed
      wrote on 19 May 2017, 19:21 last edited by
      #16

      @mrjj said in problem configurating qt for vs2008:

      oh, also , it seems to be a commercial options.
      So it must mean you have a license.
      So you can get dedicated direct help if you contact them. \o/

      It's commercial option? really? I have opensource one.
      The docs doesn't say this is for commercial version only!

      HamedBabaeyan@yahoo.com
      for more interesting stuff

      M 1 Reply Last reply 19 May 2017, 19:22
      0
      • H Hamed
        19 May 2017, 19:21

        @mrjj said in problem configurating qt for vs2008:

        oh, also , it seems to be a commercial options.
        So it must mean you have a license.
        So you can get dedicated direct help if you contact them. \o/

        It's commercial option? really? I have opensource one.
        The docs doesn't say this is for commercial version only!

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 19 May 2017, 19:22 last edited by
        #17

        @Hamed
        no, sorry. it just seems like that. It seems optional :)

        1 Reply Last reply
        1
        • M mrjj
          19 May 2017, 19:20

          @Hamed
          SP 1 at least.
          https://www.microsoft.com/en-us/download/details.aspx?id=10986

          H Offline
          H Offline
          Hamed
          wrote on 19 May 2017, 19:24 last edited by
          #18

          @mrjj said in problem configurating qt for vs2008:

          @Hamed
          SP 1 at least.
          https://www.microsoft.com/en-us/download/details.aspx?id=10986

          I checked and yes, SP1 installed.

          HamedBabaeyan@yahoo.com
          for more interesting stuff

          M 1 Reply Last reply 19 May 2017, 19:25
          0
          • H Hamed
            19 May 2017, 19:24

            @mrjj said in problem configurating qt for vs2008:

            @Hamed
            SP 1 at least.
            https://www.microsoft.com/en-us/download/details.aspx?id=10986

            I checked and yes, SP1 installed.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 19 May 2017, 19:25 last edited by
            #19

            @Hamed
            then i guess 5.6 is better to use.
            I assume that 5.8 uses type_traits and vs 2008 didnt have back then.

            H 1 Reply Last reply 19 May 2017, 19:28
            0
            • M mrjj
              19 May 2017, 19:25

              @Hamed
              then i guess 5.6 is better to use.
              I assume that 5.8 uses type_traits and vs 2008 didnt have back then.

              H Offline
              H Offline
              Hamed
              wrote on 19 May 2017, 19:28 last edited by
              #20

              @mrjj said in problem configurating qt for vs2008:

              @Hamed
              then i guess 5.6 is better to use.
              I assume that 5.8 uses type_traits and vs 2008 didnt have back then.

              OK I will download Qt5.6.
              If that didn't work I will use Qt4.8.
              If none of them work I will continue posting state here.
              Thank you for your time and help.

              HamedBabaeyan@yahoo.com
              for more interesting stuff

              M 1 Reply Last reply 19 May 2017, 19:30
              0
              • H Hamed
                19 May 2017, 19:28

                @mrjj said in problem configurating qt for vs2008:

                @Hamed
                then i guess 5.6 is better to use.
                I assume that 5.8 uses type_traits and vs 2008 didnt have back then.

                OK I will download Qt5.6.
                If that didn't work I will use Qt4.8.
                If none of them work I will continue posting state here.
                Thank you for your time and help.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 19 May 2017, 19:30 last edited by mrjj
                #21

                @Hamed
                np. i did read the docs a bit more careful and it seems that 5.6 is the version for wince and
                it must be 2008 as wince died in later versions.

                And yes by all means do come back if it wont compile.
                There might be other users that use wince still.
                Such a cute little windows :)

                H 1 Reply Last reply 19 May 2017, 21:18
                1
                • H Offline
                  H Offline
                  Hamed
                  wrote on 19 May 2017, 19:33 last edited by
                  #22

                  And another thing I remembered to say, I already installed and have qt5.7 on my device.
                  Could this be the source of problem? Should I delete this one or I can have them both?

                  HamedBabaeyan@yahoo.com
                  for more interesting stuff

                  M 1 Reply Last reply 19 May 2017, 19:34
                  0
                  • H Hamed
                    19 May 2017, 19:33

                    And another thing I remembered to say, I already installed and have qt5.7 on my device.
                    Could this be the source of problem? Should I delete this one or I can have them both?

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 19 May 2017, 19:34 last edited by
                    #23

                    @Hamed
                    You can have as many as u want.
                    Just make sure u use the correct one.
                    Normally its not an issue or source of problem but im old school so if you dont need it. delete it :)

                    H 1 Reply Last reply 19 May 2017, 19:37
                    1
                    • M mrjj
                      19 May 2017, 19:34

                      @Hamed
                      You can have as many as u want.
                      Just make sure u use the correct one.
                      Normally its not an issue or source of problem but im old school so if you dont need it. delete it :)

                      H Offline
                      H Offline
                      Hamed
                      wrote on 19 May 2017, 19:37 last edited by
                      #24

                      @mrjj I'm need it but not more than this one, for the last solution I will do that.
                      Thank you again.

                      HamedBabaeyan@yahoo.com
                      for more interesting stuff

                      1 Reply Last reply
                      0
                      • M mrjj
                        19 May 2017, 19:30

                        @Hamed
                        np. i did read the docs a bit more careful and it seems that 5.6 is the version for wince and
                        it must be 2008 as wince died in later versions.

                        And yes by all means do come back if it wont compile.
                        There might be other users that use wince still.
                        Such a cute little windows :)

                        H Offline
                        H Offline
                        Hamed
                        wrote on 19 May 2017, 21:18 last edited by
                        #25

                        @mrjj I downloaded Qt5.6 source (low speed internet) and the README file is different and it meets my requirements (C++ compiler supporting the C++98 standard) , but the strange part is I'm getting the following output :

                        + cd qtbase
                        + C:\Qt2\Qt5.6.0\qtbase\configure.bat -top-level -platform -xplatform wincewm70customsdk-msvc2008
                        Unknown option wincewm70customsdk-msvc2008
                        Invalid option "-xplatform" for -platform.
                        See the README file for a list of supported operating systems and compilers.
                        Invalid option "wincewm70customsdk-msvc2008" for -xplatform.
                        

                        Any Idea?

                        HamedBabaeyan@yahoo.com
                        for more interesting stuff

                        M 1 Reply Last reply 19 May 2017, 21:23
                        0
                        • H Hamed
                          19 May 2017, 21:18

                          @mrjj I downloaded Qt5.6 source (low speed internet) and the README file is different and it meets my requirements (C++ compiler supporting the C++98 standard) , but the strange part is I'm getting the following output :

                          + cd qtbase
                          + C:\Qt2\Qt5.6.0\qtbase\configure.bat -top-level -platform -xplatform wincewm70customsdk-msvc2008
                          Unknown option wincewm70customsdk-msvc2008
                          Invalid option "-xplatform" for -platform.
                          See the README file for a list of supported operating systems and compilers.
                          Invalid option "wincewm70customsdk-msvc2008" for -xplatform.
                          

                          Any Idea?

                          M Offline
                          M Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on 19 May 2017, 21:23 last edited by
                          #26

                          @Hamed said in problem configurating qt for vs2008:

                          incewm70customsdk-msvc2008

                          no, ill ask for assistance and hope :)

                          H 1 Reply Last reply 19 May 2017, 21:25
                          1
                          • M mrjj
                            19 May 2017, 21:23

                            @Hamed said in problem configurating qt for vs2008:

                            incewm70customsdk-msvc2008

                            no, ill ask for assistance and hope :)

                            H Offline
                            H Offline
                            Hamed
                            wrote on 19 May 2017, 21:25 last edited by
                            #27

                            @mrjj Thank you

                            HamedBabaeyan@yahoo.com
                            for more interesting stuff

                            1 Reply Last reply
                            1
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 19 May 2017, 21:58 last edited by
                              #28

                              Hi,

                              Following Installing Qt for Windows CE which refers to the Qt for Windows CE Requirements which itself refers to the Windows CE - Working with Custom SDKs page, there's an explanation about how to setup a toolchain to match your needs.

                              Hope it helps

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              H 1 Reply Last reply 20 May 2017, 06:37
                              3
                              • S SGaist
                                19 May 2017, 21:58

                                Hi,

                                Following Installing Qt for Windows CE which refers to the Qt for Windows CE Requirements which itself refers to the Windows CE - Working with Custom SDKs page, there's an explanation about how to setup a toolchain to match your needs.

                                Hope it helps

                                H Offline
                                H Offline
                                Hamed
                                wrote on 20 May 2017, 06:37 last edited by
                                #29

                                @SGaist said in problem configurating qt for vs2008:

                                Hi,

                                Following Installing Qt for Windows CE which refers to the Qt for Windows CE Requirements which itself refers to the Windows CE - Working with Custom SDKs page, there's an explanation about how to setup a toolchain to match your needs.

                                Hope it helps

                                Uh I didn't check that docs carefully in first place.
                                I think this would be the solution, I will test it as soon as I got home.
                                Thank you.

                                HamedBabaeyan@yahoo.com
                                for more interesting stuff

                                M 1 Reply Last reply 20 May 2017, 06:39
                                1
                                • H Hamed
                                  20 May 2017, 06:37

                                  @SGaist said in problem configurating qt for vs2008:

                                  Hi,

                                  Following Installing Qt for Windows CE which refers to the Qt for Windows CE Requirements which itself refers to the Windows CE - Working with Custom SDKs page, there's an explanation about how to setup a toolchain to match your needs.

                                  Hope it helps

                                  Uh I didn't check that docs carefully in first place.
                                  I think this would be the solution, I will test it as soon as I got home.
                                  Thank you.

                                  M Offline
                                  M Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 20 May 2017, 06:39 last edited by mrjj
                                  #30

                                  @Hamed
                                  Yeah me me neither. Missed that part. alt text
                                  Ill cross fingers.

                                  1 Reply Last reply
                                  2
                                  • H Offline
                                    H Offline
                                    Hamed
                                    wrote on 21 May 2017, 21:48 last edited by
                                    #31

                                    Thanks to @SGaist and @mrjj problem solved.
                                    I post some information in case someone faced this problem later :
                                    1- Qt docs says run this command :

                                    configure -platform -xplatform [wince_custom_build_specification_directory_name]
                                    

                                    This will not work, instead run :

                                    configure -xplatform [wince_custom_build_specification_directory_name]
                                    

                                    2- This specification directories are in Qt\Qt[Version]\qtbase\mkspecs
                                    3- Find your destination platform directory there or simply create one.
                                    4- open qmak.conf file in that directory and set CE_SDK to your SDK name (mine was STANDARDSDK_500) and set CE_ARCH to your destination device architecture for example ARMV4I

                                    Hope this helps.

                                    After all these steps my configuration works fine but when I run nmake I get following errors :

                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(363) : error C2733: second C linkage of overloaded function 'wcsftime' not allowed
                                            C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(363) : see declaration of 'wcsftime'
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(391) : error C3861: 'memcpy_s': identifier not found
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\altcecrt.h(396) : error C3861: 'memmove_s': identifier not found
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : error C2039: 'memcpy_s' : is not a member of '`global namespace''
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(584) : error C3861: 'memcpy_s': identifier not found
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error C2039: 'memmove_s' : is not a member of '`global namespace''
                                    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\iosfwd(608) : error C3861: 'memmove_s': identifier not found
                                    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\\ce\bin\x86_arm\cl.EXE"' : return code '0x2'
                                    Stop.
                                    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'
                                    Stop.
                                    NMAKE : fatal error U1077: 'cd' : return code '0x2'
                                    Stop.
                                    NMAKE : fatal error U1077: 'cd' : return code '0x2'
                                    Stop.
                                    NMAKE : fatal error U1077: 'cd' : return code '0x2'
                                    Stop.
                                    

                                    Should I start new thread for this problem or not?

                                    HamedBabaeyan@yahoo.com
                                    for more interesting stuff

                                    1 Reply Last reply
                                    1
                                    • H Offline
                                      H Offline
                                      Hamed
                                      wrote on 22 May 2017, 16:29 last edited by
                                      #32

                                      Any idea about this issue?
                                      I think this problem is not related to Qt, but if anyone could help me solve these errors would be great.

                                      HamedBabaeyan@yahoo.com
                                      for more interesting stuff

                                      M 1 Reply Last reply 22 May 2017, 17:05
                                      0
                                      • H Hamed
                                        22 May 2017, 16:29

                                        Any idea about this issue?
                                        I think this problem is not related to Qt, but if anyone could help me solve these errors would be great.

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 22 May 2017, 17:05 last edited by
                                        #33

                                        @Hamed
                                        It seems related to wince/mobile and i can find many mention those errors
                                        but saw no solution.
                                        https://forum.qt.io/topic/62184/cross-compile-qt-5-5-on-wince-6-0-6-5-windows-embedded-handheld-6-5-classic/2

                                        H 1 Reply Last reply 22 May 2017, 17:35
                                        1
                                        • M mrjj
                                          22 May 2017, 17:05

                                          @Hamed
                                          It seems related to wince/mobile and i can find many mention those errors
                                          but saw no solution.
                                          https://forum.qt.io/topic/62184/cross-compile-qt-5-5-on-wince-6-0-6-5-windows-embedded-handheld-6-5-classic/2

                                          H Offline
                                          H Offline
                                          Hamed
                                          wrote on 22 May 2017, 17:35 last edited by
                                          #34

                                          @mrjj yeap, this is exactly the problem and as you said no solution...

                                          HamedBabaeyan@yahoo.com
                                          for more interesting stuff

                                          1 Reply Last reply
                                          0

                                          24/43

                                          19 May 2017, 19:37

                                          • Login

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