Results 1 to 4 of 4

Thread: Window Vista and Qt

  1. #1
    Join Date
    Aug 2007
    Posts
    275
    Thanks
    28
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Window Vista and Qt

    hi guys,

    i have a comercial version 4.3.1 and i tried to install it on windows vista but i have the following error please help

    C:\Qt\qt-win-commercial-src-4.3.1>mingw32-make
    cd src\winmain\ && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winma
    in'
    mingw32-make -f Makefile.Debug all
    mingw32-make[2]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winma
    in'
    mingw32-make[2]: Nothing to be done for `all'.
    mingw32-make[2]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winmai
    n'
    mingw32-make -f Makefile.Release all
    mingw32-make[2]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winma
    in'
    mingw32-make[2]: Nothing to be done for `all'.
    mingw32-make[2]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winmai
    n'
    mingw32-make[1]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/winmai
    n'
    cd src\tools\moc\ && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools
    /moc'
    mingw32-make -f Makefile.Release
    mingw32-make[2]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools
    /moc'
    mingw32-make[2]: Nothing to be done for `first'.
    mingw32-make[2]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools/
    moc'
    mingw32-make[1]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools/
    moc'
    cd src\tools\rcc\ && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools
    /rcc'
    mingw32-make -f Makefile.Release
    mingw32-make[2]: Entering directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools
    /rcc'
    gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTO
    P -DQT_BOOTSTRAPPED -DQT_RCC -DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD
    -DQT_NO_QOBJECT -DQT_NO_UNICODETABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT
    _NO_GEOM_VARIANT -DQT_NODLL -I"..\..\corelib\arch\generic" -I"..\..\..\include"
    -I"." -I"..\..\..\include\QtCore" -I"..\..\..\include\QtXml" -I"..\..\3rdparty\z
    lib" -I"." -I"..\..\..\mkspecs\win32-g++" -o tmp\obj\release_shared\adler32.o ..
    \..\3rdparty\zlib\adler32.c
    gcc: installation problem, cannot exec `cc1': No such file or directory
    mingw32-make[2]: *** [tmp\obj\release_shared\adler32.o] Error 1
    mingw32-make[2]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools/
    rcc'
    mingw32-make[1]: *** [release] Error 2
    mingw32-make[1]: Leaving directory `C:/Qt/qt-win-commercial-src-4.3.1/src/tools/
    rcc'
    mingw32-make: *** [sub-rcc-make_default-ordered] Error 2

    C:\Qt\qt-win-commercial-src-4.3.1>
    please guide me,

    baray98

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Window Vista and Qt

    You're using the g++ make spec. Switch to the one for visual studio. You can do that by either setting the environment variable or by running "Qt 4.3.1 Command Prompt". With the latter all env vars are set automatically for the console session.

  3. #3
    Join Date
    Aug 2007
    Posts
    275
    Thanks
    28
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Window Vista and Qt

    but i only have gcc in my machine or i think i don't understand your answer marcel, please explain it some more if you don't mind

    always listening,
    baray98

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Window Vista and Qt

    http://www.qtcentre.org/forum/f-inst...ista-5856.html
    So, the solution is to put in the "enviroment path" the path to cc1.exe and cc1plus.exe.
    J-P Nurmi

Similar Threads

  1. Replies: 3
    Last Post: 4th September 2007, 14:40
  2. QToolbar in Window Vista prob.
    By patrick772goh in forum Qt Programming
    Replies: 3
    Last Post: 20th August 2007, 10:35
  3. QT 4.3 + vista + QMYSQL
    By ldsjohn in forum Qt Programming
    Replies: 1
    Last Post: 7th August 2007, 07:48
  4. QProcess and Vista UAC
    By sharevari in forum Qt Programming
    Replies: 6
    Last Post: 16th April 2007, 15:28
  5. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06

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
  •  
Qt is a trademark of The Qt Company.