Results 1 to 5 of 5

Thread: Qt 4.2.3 Configure Issue...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2007
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Qt 4.2.3 Configure Issue...

    Hi,
    i originally ran configure with platform set to visual studio 6, but wanted to change that, so I tried to run nmake clean, but was not sucessful. I then uninstalled qt 4.2.3, reinstalled, ran configure -platform win32-msvc2005 and now configure doesn't build anymore. The complete output is attached in the text file included, but here is most of it, without the list of obj files it fails to find.

    Creating qmake...

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
    -Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
    ..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
    NENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_
    THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM /Zc:wchar_t- project.cpp
    Command line warning D4002 : ignoring unknown option '/Zc'
    Command line warning D4002 : ignoring unknown option '/Z:'
    Command line warning D4002 : ignoring unknown option '/Zw'
    Command line warning D4002 : ignoring unknown option '/Zc'
    Command line warning D4002 : ignoring unknown option '/Zh'
    Command line warning D4002 : ignoring unknown option '/Zr'
    Command line warning D4002 : ignoring unknown option '/Z_'
    Command line warning D4002 : ignoring unknown option '/Zt'
    Command line warning D4002 : ignoring unknown option '/Z-'
    project.cpp
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
    before identifier 'i'
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
    s or type specifiers
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
    s or type specifiers
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
    ;' before identifier 'qLowerBound'
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
    ne' not permitted on data declarations
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
    ng storage-class or type specifiers
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
    from previous error(s); stopping compilation
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    del qbitarray.obj
    Could Not Find C:\Qt\4.2.3\qmake\qbitarray.obj
    del qbuffer.obj
    Could Not Find C:\Qt\4.2.3\qmake\qbuffer.obj
    del qfsfileengine.obj
    Could Not Find ...

    Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
    Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\unix -Igenerators\win32
    -Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I..\src\tools -I..\include\QtCore -I
    ..\mkspecs\win32-msvc -I..\src\3rdparty\md5 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPO
    NENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_
    THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM /Zc:wchar_t- project.cpp
    Command line warning D4002 : ignoring unknown option '/Zc'
    Command line warning D4002 : ignoring unknown option '/Z:'
    Command line warning D4002 : ignoring unknown option '/Zw'
    Command line warning D4002 : ignoring unknown option '/Zc'
    Command line warning D4002 : ignoring unknown option '/Zh'
    Command line warning D4002 : ignoring unknown option '/Zr'
    Command line warning D4002 : ignoring unknown option '/Z_'
    Command line warning D4002 : ignoring unknown option '/Zt'
    Command line warning D4002 : ignoring unknown option '/Z-'
    project.cpp
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2146: syntax error : missing ';'
    before identifier 'i'
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'i' : missing storage-clas
    s or type specifiers
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1706) : error C2501: 'e' : missing storage-clas
    s or type specifiers
    ..\include\QtCore/../../src/corelib/global/qglobal.h(1708) : see reference to class template
    instantiation 'QForeachContainer<T>' being compiled
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2146: syntax error : missing '
    ;' before identifier 'qLowerBound'
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2433: 'const_iterator' : 'inli
    ne' not permitted on data declarations
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : error C2501: 'const_iterator' : missi
    ng storage-class or type specifiers
    ..\include\QtCore/../../src/corelib/tools/qalgorithms.h(249) : fatal error C1903: unable to recover
    from previous error(s); stopping compilation
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    Building qmake failed, return code 2
    Attached Files Attached Files

Similar Threads

  1. Qt 4.2.3 with MSVC 2005 and MySQL
    By whitefurrows in forum Qt Programming
    Replies: 4
    Last Post: 3rd May 2007, 16:32
  2. Install Qt4.2.3 on MacOSX - configure ?
    By kuroyume0161 in forum Installation and Deployment
    Replies: 2
    Last Post: 17th March 2007, 00:18
  3. MainWindow Menu bug in Qt 4.2.3?
    By No-Nonsense in forum Qt Programming
    Replies: 4
    Last Post: 11th March 2007, 11:47
  4. Mysql LD_LIBRARY_PATH Issue
    By Think_Positive in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2007, 19:16
  5. Can't configure for Win32 MSVC .NET
    By saber850 in forum Installation and Deployment
    Replies: 8
    Last Post: 28th February 2006, 16:42

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.