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
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Installation and Deployment
30 Posts 5 Posters 19.9k Views
  • 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 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
                • P Offline
                  P Offline
                  Peppy
                  wrote on last edited by
                  #22

                  What is the Boost? Some turbo??

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

                    [quote author="Hedge" date="1305716471"]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?[/quote]

                    it chains the commands.
                    it's the same thing that:
                    configure
                    nmake
                    clean

                    Gedd

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joergs1968
                      wrote on last edited by
                      #24

                      there is something weird in your description:
                      according to your configuration ( platform win32- msvc2010 ) you wanted it configured for VS2010, but according to the compiler arguments ( IC:\qt-everywhere-
                      opensource-src-4.7.3\mkspecs\win32- msvc2008 ), it's been configured for VS2008 ???

                      anyways:
                      directly after agreeing to the LGPL policies, the standard include paths are listed:
                      @You are licensed to use this software under the terms of
                      the GNU Lesser General Public License (LGPL) version 2.1
                      or the GNU General Public License (GPL) version 3.

                      Type '3' to view the GNU General Public License version 3 (GPLv3).
                      Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
                      Type 'y' to accept this license offer.
                      Type 'n' to decline this license offer.

                      Do you accept the terms of the license?
                      Environment:
                      INCLUDE=

                        c:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE
                      
                        c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
                      
                        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include @
                      

                      look there, stddef.h normally is located within "c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE"
                      (for your configuration, the Visual Studio version number might be different)

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

                        @gedd:
                        I want to make the Qt-dlls I deliver with my program a bit smaller. I heard good things about the MS-compiler. That's the thread with my current results: http://developer.qt.nokia.com/forums/viewthread/6038/P15/#35944

                        @Peppy: I want to compile the Qt libraries with it, not my application.

                        @joergs1968: I might have not installed the C++ compiler (I just remembered) because I only used VS for C# up until now. I'm downloading the VS2010 iso from MSDNAA right now to change the installation.

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

                          @Hedge: It should work in MSVC compiler. I am using MSVC 2008 with QtCreator, is much less painful (ehm...I could say, it's not painful :-D ;) ) and it does its work very fast (with precompiled headers and incremental libs) :) ... That is one thing, that is really good from Microsoft (Yes, I've tried VS 2008 - great system, too), but let's get back to the topic...

                          Our problem is to find, which include headers are right for compiling (stddef.h is in STL, so it should be the same, but who knows :-))

                          1 Reply Last reply
                          0
                          • J Offline
                            J Offline
                            joergs1968
                            wrote on last edited by
                            #27

                            @joergs1968: I might have not installed the C++ compiler (I just remembered) because I only used VS for C# up until now. I'm downloading the VS2010 iso from MSDNAA right now to change the installation.[/quote]

                            sounds like a reasonable explanation of the symptoms - good luck!

                            BTW: I for myself tried the Qt compilation with VS2010 (Windows7 x64 architecture) - no success; some demos worked, but not everything (strange thing tho: in debug mode everthing works, this makes it impossible to track down the problem)...

                            you should stick to VS2008 - I think VS2010 is a bit too new at the moment

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

                              [quote author="joergs1968" date="1305725258"]...
                              you should stick to VS2008 - I think VS2010 is a bit too new at the moment[/quote]

                              Not so in fact ...
                              And QMAKESPEC for 2010, 2008 and 2005 are the same

                              qplatformdefs.h for VS2010 and VS2008 contains this

                              @#include "../win32-msvc2005/qplatformdefs.h"@

                              I tried and succeeded to use Qt with VS 2010, you have just to compile Qt dll.
                              Using VS2008 with SDK 1.1 is easier and faster

                              Gedd

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                joergs1968
                                wrote on last edited by
                                #29

                                ...but that's only from Qt perspective - the compiler/linker used by VisualStudio 2008/2010 are different; actually that is what I meant...

                                my problems might be caused because I am compiling for x64 architecture, don't know :-(
                                (the concrete problems actually are: the phonon_....dll crashes and every dropdown-list-button causes a read from address 0 somewhere in QtGui4.dll; apart from that, most examples/demos work in release mode, in debug mode: everything works...)

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

                                  After install C++ it worked finally.

                                  I can't tell yet whether the dll's I compiled will work b/c I can't test my application right now.

                                  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