Results 1 to 18 of 18

Thread: QT 4.2.2 Opensource on Vista

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT 4.2.2 Opensource on Vista

    Hi

    I have earlier installed QT4 with no problems on win xp sp2, but when I tried it on Vista I got problems during mingw32-make.

    These are the last lines:

    gcc -c -O2 -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_RCC
    -DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNI
    CODETABLES -DQT_NO_LIBRARY -DQT_NO_SYSTEMLOCALE -DQT_NODLL -I"..\..\corelib\arch
    \generic" -I"C:/Qt/4.2.2/include" -I"." -I"C:/Qt/4.2.2/include/QtCore" -I"C:/Qt/
    4.2.2/include/QtXml" -I"..\..\3rdparty\zlib" -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[3]: *** [tmp\obj\release_shared\adler32.o] Error 1
    mingw32-make[3]: Leaving directory `C:/Qt/4.2.2/src/tools/rcc'
    mingw32-make[2]: *** [release] Error 2
    mingw32-make[2]: Leaving directory `C:/Qt/4.2.2/src/tools/rcc'
    mingw32-make[1]: *** [sub-tools_rcc-make_default] Error 2
    mingw32-make[1]: Leaving directory `C:/Qt/4.2.2/src'
    mingw32-make: *** [sub-src-make_default-ordered] Error 2


    For the record, both mingw/bin and qt/4.2.2/bin is in the path.

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    And where is cc1.exe?
    This doesn't look like a vista problem but like a problem with your MinGW installation. Try to reinstall gcc-core & gcc-c++ .

  3. #3
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    I am using the mingw installation that trolltech provided during the QT install. I do not have cc1 it seems, and I have no idea why. Will try to install in win xp again later today to check if its the installer that is bugged or just vista.

  4. #4
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    I just tried doing the same install on an Win XP machine and it worked...so I am pretty sure Vista is to blame for this (or perhaps trolltech or mingw for lack of Vista support).

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    When there is no cc1.exe around, you have to blame the installer.Try to reinstall Qt on Vista to see if cc1.exe is really not installed.

  6. #6
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Quote Originally Posted by ChristianEhrlicher View Post
    When there is no cc1.exe around, you have to blame the installer.Try to reinstall Qt on Vista to see if cc1.exe is really not installed.
    You would think, but since I am using the _same_ installer on both XP and Vista, you would also assume that the same gets installed...

    I still get the error on Vista after 4 more tries, but XP nails it every time.

  7. #7
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Quote Originally Posted by invictus View Post
    You would think, but since I am using the _same_ installer on both XP and Vista, you would also assume that the same gets installed...
    Normally yes - but not in this case. Strange

  8. #8
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Quote Originally Posted by ChristianEhrlicher View Post
    Normally yes - but not in this case. Strange
    Perhaps I should just wait for QT 4.3...by then I assume Vista is more common and the installer take that into account.

  9. #9
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Or install MinGW directly from mingw.org

  10. #10
    Join Date
    Feb 2007
    Posts
    61
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Quote Originally Posted by ChristianEhrlicher View Post
    Or install MinGW directly from mingw.org
    Actually I just did a check. The cc1.exe is installed and is in the same folder on both machines. Wonder why vista fails still.

  11. #11
    Join Date
    Feb 2007
    Posts
    49
    Thanks
    4
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT 4.2.2 Opensource on Vista

    Run as administrator?

Similar Threads

  1. QT 4.2.2 and Ico plugins
    By Placido Currò in forum Qt Programming
    Replies: 2
    Last Post: 24th January 2007, 15:13
  2. issues with 4.2.2 opensource on OS X 1.4.8
    By wmmk in forum Installation and Deployment
    Replies: 3
    Last Post: 15th January 2007, 16:55
  3. Does OpenGL be supported in opensource of Qt-4.1.2?
    By showhand in forum Qt Programming
    Replies: 1
    Last Post: 15th May 2006, 10:46

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.