Results 1 to 2 of 2

Thread: Compiling QT Creator 1.3.1 with mingw to enable using Custom Widget plugin

  1. #1
    Join Date
    Feb 2010
    Posts
    30
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Compiling QT Creator 1.3.1 with mingw to enable using Custom Widget plugin

    Hi Im trying to get the custom widget plugin working for the integrated form editor in creator. As many people before me I noticed that the plugin won't load because of "Incompatible library Expected Windows msvc release full config, got Windows mingw release full config". The plugin however loads successfully in Designer. This implies that Creator has been built with msvc and not mingw that my plugin is. Im therefore trying to build Creator with mingw instead. So i downloaded the source code for Creator 1.3.1. I then tried to compile that qtcreator.pro in my existing Creator which by default is using mingw. However when it tries to execute mingw32-make on the generated Makefile it returns the error.

    *** multiple target patterns. Stop.

    Qt Code:
    1. mingw32-make[4]: Entering directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/src/libs/qtconcurrent'
    2. mingw32-make[4]: Leaving directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/src/libs/qtconcurrent'
    3. mingw32-make[3]: Leaving directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/src/libs/qtconcurrent'
    4. mingw32-make[2]: Leaving directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/src/libs'
    5. mingw32-make[1]: Leaving directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/src'
    6. mingw32-make: Leaving directory `C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src'
    7. Makefile.Debug:70: *** multiple target patterns. Stop.
    8. mingw32-make[3]: *** [debug-clean] Error 2
    9. mingw32-make[2]: *** [sub-qtconcurrent-clean-ordered] Error 2
    10. mingw32-make[1]: *** [sub-libs-clean-ordered] Error 2
    11. mingw32-make: *** [sub-src-clean-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    By reading on other forums I found:

    "This is a common error when the environment variables LIB and INCLUDE are set to some msvc specific paths - since Qt 4.3.0 qmake uses those paths. MSVC6 did this, MSVC 7 and above are smarter (ok, just a little bit, but smart enough that this error does not occour).
    Just set the both env vars to empty and rerun qmake."

    so i set include =; and lib =; But and try to rebuild but it doesn´t help. So i don't think thats the issue. Do any body have any suggestions, it would be very much appreciated.

  2. #2
    Join Date
    Jun 2010
    Posts
    1

    Default Re: Compiling QT Creator 1.3.1 with mingw to enable using Custom Widget plugin

    Hi,

    I had the same problem. I solved it by copying the folder "C:/Documents and Settings/frejh/Mina dokument/Downloads/qt-creator-1.3.1-src/qt-creator-1.3.1-src/" to "c:/QtCreator"

Similar Threads

  1. Replies: 1
    Last Post: 6th May 2010, 10:09
  2. Cannot add custom widget to Qt Creator
    By djogon in forum Qt Tools
    Replies: 5
    Last Post: 30th April 2010, 10:15
  3. Replies: 3
    Last Post: 17th November 2009, 14:43
  4. Custom Widget Plugin
    By alisami in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2009, 14:33
  5. Replies: 4
    Last Post: 17th February 2006, 14:28

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.