Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved] Configure.exe fails for Qt 4.7.3 with Visual Studio-compiler
Forum Updated to NodeBB v4.3 + New Features

[solved] Configure.exe fails for Qt 4.7.3 with Visual Studio-compiler

Scheduled Pinned Locked Moved Installation and Deployment
30 Posts 5 Posters 20.0k 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by
    #2

    How did you open the Command Prompt?
    With older versions of Visual Studio, you have to open the command prompt from Visual Studio.
    Tools->Visual Studio 2005 Command Prompt
    for VS 2005

    Added: Sorry, overlooked that you have done that.

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hedge
      wrote on last edited by
      #3

      I opened it via start-menu. There's an entry for that under Microsoft Visual Studio 2010->Visual Studio Tools

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #4

        Yes!
        Unfortunately, I have seen just after posting.
        This addition came too late.
        [quote author="koahnig" date="1305709701"]Added: Sorry, overlooked that you have done that.[/quote]

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #5

          Just out of curiousity I have started the same configure command but substituted the visual studio version.
          It does work in my installation.
          The qbitarray.obj is created apparently right the beginning.
          I have used "qt-everywhere-opensource-src-4.7.3.zip".

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Hedge
            wrote on last edited by
            #6

            What do you mean by substituted? You left it out?

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #7

              No, I have basically used the configure command as you provided, but I had to use "win32-msvc2005" instead of "win32-msvc2010".

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Hedge
                wrote on last edited by
                #8

                It's the same error with win32-msvc2005 as well.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  gedd
                  wrote on last edited by
                  #9

                  Maybe you can try this

                  Check your system settings

                  @ QTDIR = C:\qt-everywhere-opensource-src-4.7.3
                  QMAKESPEC = win32-msvc2010
                  PATH = .....;%QTDIR%\bin@

                  launch Visual Studio 2010 Command Prompt

                  check variable with the following commands
                  @ echo %QTDIR%
                  echo %QMAKESPEC%
                  echo %PATH%@

                  then run this :
                  @cd %QTDIR%
                  configure & nmake & nmake clean@

                  Gedd

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    Hedge
                    wrote on last edited by
                    #10

                    I did exactly what you said (and made sure the variables are set) but it still can't find stddef (same error as before).

                    btw. what means the & between configure & nmake & nmake clean?

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

                      EDIT: The requested libraries weren't found...link %PATH% with /include/ folder which has STL libs.(not so good solution)...

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        Hedge
                        wrote on last edited by
                        #12

                        I can't find VC 2010's include-folder.

                        1 Reply Last reply
                        0
                        • P Offline
                          P Offline
                          Peppy
                          wrote on last edited by
                          #13

                          It has to exists. Run in VC some console app. and look at project properties (If V. Visual C++ or Visual Studio uses MSVC headers which are almost ever in Program Files dir. Look for something like
                          Program Files/Microsoft SDKs/Windows/(current version - the latest - I've got "v7.0A")/Include

                          Try it...

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Peppy
                            wrote on last edited by
                            #14

                            Do you have installed QtSDK + MSVC 2008 ??

                            You work in QtCreator? Have you tried working with MSVC compiler in QtCreator? I am even better with MSVC than MinGW...

                            1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              Hedge
                              wrote on last edited by
                              #15

                              Ah, now I found it and added it to the PATH.
                              I tstill get the same error as in the first post though.

                              I've got QtSDK and MSVC2010 installed.

                              1 Reply Last reply
                              0
                              • P Offline
                                P Offline
                                Peppy
                                wrote on last edited by
                                #16

                                QtSDK has libs/includes only for MSVC2008, set up in QtCreator, in Project, and set up compiler as MSVC2008

                                1 Reply Last reply
                                0
                                • H Offline
                                  H Offline
                                  Hedge
                                  wrote on last edited by
                                  #17

                                  where are these includes. I can't find them in the source-package and compiled sdk.

                                  1 Reply Last reply
                                  0
                                  • P Offline
                                    P Offline
                                    Peppy
                                    wrote on last edited by
                                    #18

                                    QtSDK\Desktop\Qt\4.7.3\msvc2008

                                    1 Reply Last reply
                                    0
                                    • H Offline
                                      H Offline
                                      Hedge
                                      wrote on last edited by
                                      #19

                                      Ah...I started the QtSDK Maintenance tool and saw I didn't have those isntalled.

                                      btw. Will this help me get Qt itself compiled?

                                      1 Reply Last reply
                                      0
                                      • P Offline
                                        P Offline
                                        Peppy
                                        wrote on last edited by
                                        #20

                                        I've got this compiled, it works fine for me, better than MinGW (for me)...

                                        I am sorry, I don't understand you question...

                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          gedd
                                          wrote on last edited by
                                          #21

                                          Have you really need VS2010 ?
                                          Have you really need to compile Qt? or just want it works on Windows ?

                                          If your answers is no, no , yes , see my last post here
                                          "http://developer.qt.nokia.com/forums/viewthread/5994/":http://developer.qt.nokia.com/forums/viewthread/5994/

                                          bq. Just few comment ...

                                          Gedd

                                          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