Results 1 to 20 of 20

Thread: Where do I get MinGW 3.2 ?

  1. #1
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Where do I get MinGW 3.2 ?

    I am using MinGW 3.0.0.1, Qt 4.2 and VS 2005.

    Is MinGW required?

    While installing Qt, I get a warning that it needs MinGW 3.2 which I am not finding it on the internet. I continue with the installation.


    My simple hello world program doesn’t compile.

    I have set the path, added lib, exe and includes path in the VS environment.

    Could you please help me with this issue. I am using the open source version of Qt.

    Thanks for all in advance
    shwetha

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    There is MinGW bundled with Qt4, but you can get it from this site: http://www.mingw.org/download.shtml

  3. #3
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    yes, I download MinGW-3.0.0-1.exe from the same website.

    But now finding 3.2 for Windows there.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?


  5. #5
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    I downloaded 3.2 and it give an warning while installing Qt.

    But, when compiling my simple app.

    I get a link error which states

    c:\mingw\include\stddef.h(6)

    fatal error:C 1021:invalid preprocessor command 'include_next'

    I have set the path, linker options in VC 2005

    Please help

    Thansk in advance
    SD

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Quote Originally Posted by Shwetha
    I have set the path, linker options in VC 2005
    Which compiler do you use?

  7. #7
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Visual C++ 2005

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Quote Originally Posted by Shwetha
    Visual C++ 2005
    Qt Open Source edition doesn't support Visual C++ --- only MinGW.

  9. #9
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    I am still unsuccessful. could you please tell me if I am following the right steps

    1. Set the PATH
    2. Run 'configure ' from \Qt4.1.2

    3. mingw32-make which fails with error messages related to C:\Qt\4.1.2\src\gui
    ( assuming this step will not effect )

    4. go to tutorial directrory and type qmake -project -main.cpp

    5. qmake which will generate the exe in release folder

    Please let me kwow where I am going wrong.


    Thanks
    Shwetha

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    What error do you get exactly?

    You can find all MinGW releases here: http://prdownloads.sourceforge.net/mingw/
    but better try the version that is bundled with Qt.

  11. #11
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    yes, I installed

    MinGW-3.2.0-rc-1.exe
    MinGW-3.2.0-rc-2.exe
    MinGW-3.2.0-rc-3.exe

    from the website you mentioned.

    The error I get is

    [tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
    C:\qt\4.1.2\src\gui
    Cannot find QtGuid4

    thansk again for responding so quickly

  12. #12
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Is that the first error you get?

  13. #13
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    No, while I run my step 3, I get a bunch of errors.

    But it aborts and display this message at the end

    mingw32-make: ***[tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
    leaving directory C:\Qt\4.1.2\src\gui

    ***[ debug_all]Error 2 Leaving directory c:\Qt\4.1.2\src\gui
    *** [ sub_gui_make_default_ordered] Error 2
    Leaving directory C:\Qt\4.1.2\src

    ***[sub-src-make-default ordered] Error 2

  14. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    And what was the first error message?

  15. #15
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    styles\qwindowsxpstyle.cpp 2469: error 'ABS_UPPRESSED'
    undeclared<first use this function>

  16. #16
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Have you replaced the include and lib directories from MinGW installation with contents of w32api-3.2.tar.gz (or later)?

  17. #17
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    No, Should I do it ?

    SD

  18. #18
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Where do I get MinGW 3.2 ?

    Quote Originally Posted by Shwetha
    No, Should I do it ?
    Yes, that's what the installer was complaining about.

  19. #19
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy Re: Where do I get MinGW 3.2 ?

    No. It didnt help.

    Can you point me to the downloads of QT, mingw ( even an older version is fine)

    where they are all known to work ?

  20. #20
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 04:03
  2. anyone building/deploying Qt+Coin3d+SoQt apps with MinGW??
    By vonCZ in forum Installation and Deployment
    Replies: 0
    Last Post: 13th November 2008, 15:59
  3. Qt + boost + MinGW on Windows
    By akos.maroy in forum Newbie
    Replies: 3
    Last Post: 12th June 2008, 14:53
  4. MinGW how to
    By nileshsince1980 in forum Qt Programming
    Replies: 3
    Last Post: 24th September 2007, 11:54
  5. Mingw very slow on windows
    By elsheikhmh in forum Installation and Deployment
    Replies: 7
    Last Post: 30th May 2007, 17:19

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.