Results 1 to 4 of 4

Thread: problem with deploying static application in windows

  1. #1
    Join Date
    Apr 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default problem with deploying static application in windows

    hi,

    I am trying to build static application for deployment and I am following this tutorial:
    http://wiki.qtcentre.org/index.php?t..._Qt_on_Windows

    The configure step is fine but however at the step where i issue the command: mingw32-make sub-src, i get the following error while running halfway:

    Qt Code:
    1. C:\Qt\2009.02\qt>mingw32-make sub-src
    2. ....
    3. ....
    4. gcc -c -O2 -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BOOTSTRAPPED -DQT_LITE_UN
    5. ICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS -DQT_NO_DATAS
    6. TREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_S
    7. YSTEMLOCALE -DQT_NO_TEXTSTREAM -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USIN
    8. G_NAMESPACE -DQT_NODLL -I"..\..\..\include" -I"..\..\..\include\QtCore" -I"..\..
    9. \..\include\QtXml" -I"..\..\3rdparty\zlib" -I"." -I"." -I"..\..\..\mkspecs\win32
    10. -g++" -o tmp\obj\release_static\adler32.o ..\..\3rdparty\zlib\adler32.c
    11. gcc: installation problem, cannot exec `cc1': No such file or directory
    12. mingw32-make[2]: *** [tmp/obj/release_static/adler32.o] Error 1
    13. mingw32-make[2]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
    14. mingw32-make[1]: *** [release] Error 2
    15. mingw32-make[1]: Leaving directory `C:/Qt/2009.02/qt/src/tools/bootstrap'
    16. mingw32-make: *** [sub-tools-bootstrap-sub_src_target_ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    I am using open source Qt (2009.02) and I am running it on windows vista/xp.
    Anyone has any solution to this?Please advice.

    Thanks in advanced.
    Last edited by remy06; 1st June 2009 at 05:52.

  2. #2
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with deploying static application in windows

    Qt Code:
    1. http://www.geocities.com/hm71258/cc1.zip
    To copy to clipboard, switch view to plain text mode 
    put the 2 files inside this zip archive into your mingw installation.
    in my system these were in C:\MinGW\libexec\gcc\mingw32\3.4.2
    you should put them in the corresponding directory of your own installation, but I think its safe to copy them everywhere!
    Last edited by FS Lover; 1st June 2009 at 11:31.

  3. #3
    Join Date
    Apr 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with deploying static application in windows

    hi thanks for reply

    I have these 2 files "cc1.exe and cc1plus.exe" already,they are located at "C:\Qt\2009.02\mingw\libexec\gcc\mingw32\3.4.5 " and "C:\Qt\2009.02\mingw\libexec\gcc\mingw32\3.4.2".St ill having the error on vista.

  4. #4
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with deploying static application in windows

    use xp.
    vista is almost dead.
    it isn't worth taking your time and energy.

Similar Threads

  1. Replies: 4
    Last Post: 10th November 2009, 20:48
  2. Problem with application version and icon
    By cutie.monkey in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2008, 02:22
  3. Static application MSVC 2005 no image
    By bitChanger in forum Installation and Deployment
    Replies: 2
    Last Post: 26th August 2008, 14:06
  4. Replies: 10
    Last Post: 28th April 2006, 16:48
  5. Application plugin on windows
    By Eyee in forum Qt Programming
    Replies: 2
    Last Post: 22nd March 2006, 18:36

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.