Results 1 to 2 of 2

Thread: How to setup the Dev C++ with MingW compiler for QT?

  1. #1

    Question How to setup the Dev C++ with MingW compiler for QT?

    Hi,

    I am new to Qt. When I tried to setup DevC++ and run a sample application with the widget there, I got a link error [Linker error] undefined reference to `qInitResources_application()' .
    What is that I am doing wrong?

    Can anyone help?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to setup the Dev C++ with MingW compiler for QT?

    Dev-Cpp doesn't handle Qt compilation very well on its own. Your project is using a *.qrc file and Dev-Cpp doesn't know that it needs to be processed with rcc and that the output file need to be linked to the project... You can try to find a tool for Dev-Cpp that solves this but IMHO it would be better to go back to the old good command line until you findan IDE that fully suits your needs...
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. qmake and mingw trouble
    By krivenok in forum Qt Programming
    Replies: 8
    Last Post: 12th February 2009, 21:58
  2. Where do I get MinGW 3.2 ?
    By Shwetha in forum Newbie
    Replies: 19
    Last Post: 3rd April 2006, 22:36
  3. lQtGuid4 error - Compiler setting problem
    By Kapil in forum Installation and Deployment
    Replies: 7
    Last Post: 10th February 2006, 09:30

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.