Results 1 to 12 of 12

Thread: how to add the toolchain mingw to qt

  1. #1
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default how to add the toolchain mingw to qt

    Hello
    My OS is openSUSE 12.2
    and I've installed mingw by typing this: zypper install mingw32-cross-gcc mingw32-cross-gcc-c++ mingw32-libjpeg-devel mingw32-libpng-devel mingw32-libqt4 mingw32-libqt4-devel mingw32-libtiff-devel mingw32-zlib-devel

    Now i need to add it to qt so i must do ?? What i know is that in Qt 4.8 wich is my current version i should go to projects ->Tool chain manage->manual->add mingw but i can't figure out what i must add in it ??
    Last edited by sliverTwist; 17th April 2013 at 15:34.
    Sliver_Twist

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    What is you IDE?

    You must add the compiler (generally will start with g++)
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add the toolchain mingw to qt

    it's qt 4.8
    Sliver_Twist

  4. #4
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    Qt 4.8 is library version, what is you IDE? Is it Eclipse or Qt Creator or something else?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  5. #5
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add the toolchain mingw to qt

    it's Qt creator 2.5.0
    Sliver_Twist

  6. #6
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    Tools --> Options... --> Build & Run --> Add --> MinGw --> Select Compiler Path, ABI, Debugger
    Tools --> Options... --> Build & Run --> Qt Versions --> Add --> Select qmake path
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  7. #7
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add the toolchain mingw to qt

    i know that but what are the files that i should put in there ??
    Sliver_Twist

  8. #8
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    Compiler Path: g++ (or what ever the crosscomplier is)
    ABI: 32bit/64bit
    Debugger: (I don't think debugger is required)
    qmake: select the qmake from 4.8 path
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  9. #9
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add the toolchain mingw to qt

    doing that didn't allow me the compiler it still compile with the tool chain GCC i need to enable the field of the tool chain and select mingw
    Sliver_Twist

  10. #10
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    You cannot edit Auto-Detect settings, you need to use Manual settings
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  11. #11
    Join Date
    Feb 2013
    Location
    Banzart
    Posts
    54
    Thanks
    17
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to add the toolchain mingw to qt

    i add the mingw but i cannot select it from the menu
    Sliver_Twist

  12. #12
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to add the toolchain mingw to qt

    Select the correct ABI
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Raspberry Pi toolchain problem
    By dellboy in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 21st November 2012, 14:43
  2. Qt 4.8 missing toolchain for mingw
    By pospiech in forum Installation and Deployment
    Replies: 4
    Last Post: 23rd March 2012, 21:58
  3. unkown toolchain
    By taku in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 31st August 2011, 13:21
  4. Problems with toolchain
    By weaver4 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th November 2010, 02:24
  5. Best toolchain
    By Jef Patat in forum Newbie
    Replies: 2
    Last Post: 16th December 2009, 11:42

Tags for this Thread

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.