Results 1 to 6 of 6

Thread: problem with building a GUI project in QT Creator

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Mar 2013
    Posts
    3
    Platforms
    Windows

    Default Re: problem with building a GUI project in QT Creator

    17:06:38: Running steps for project untitled2...
    17:06:38: Starting: "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" C:\Users\Adrian\Desktop\untitled2\untitled2.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
    17:06:39: The process "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" exited normally.
    17:06:39: Starting: "C:\Program Files (x86)\CodeBlocks\MinGW\bin\mingw32-make.exe"
    C:/Program Files (x86)/CodeBlocks/MinGW/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `C:/Users/Adrian/Desktop/untitled2-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\uic.exe ..\untitled2\mainwindow.ui -o ui_mainwindow.h
    g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -I..\untitled2 -I"..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\inclu de" -I"..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\ QtWidgets" -I"..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\ QtGui" -I"..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\ QtCore" -I"debug" -I"." -I"." -I"..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\mkspecs\ win32-g++" -o debug\main.o ..\untitled2\main.cpp
    cc1plus.exe: error: unrecognized command line option "-fno-keep-inline-dllexport"
    mingw32-make[1]: *** [debug/main.o] Error 1
    mingw32-make[1]: Leaving directory `C:/Users/Adrian/Desktop/untitled2-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug'
    mingw32-make: *** [debug] Error 2
    17:06:40: The process "C:\Program Files (x86)\CodeBlocks\MinGW\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project untitled2 (kit: Desktop Qt 5.0.1 MinGW 32bit)
    When executing step 'Make'
    I suppose the problem must be caused by the second compiler from Code::Blocks. I don't know how to fix it. I'll try to install QT on another computer where no MinGw is installed. I'll see then if any problem occurs.

    EDIT:

    I checked it, on the another computer everything went well. Can I delete the compiler from Code::Blocks in QT somehow?
    Last edited by Aver; 14th March 2013 at 16:59.

Similar Threads

  1. QT4.8.3+Windows Static Libs Building Project problem
    By sa in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd January 2013, 10:57
  2. Problem building Qt project
    By almo in forum Newbie
    Replies: 3
    Last Post: 10th August 2012, 04:37
  3. Replies: 11
    Last Post: 25th April 2012, 12:24
  4. Replies: 2
    Last Post: 10th February 2011, 16:03
  5. Qt Creator - problem loading project
    By Ferric in forum Newbie
    Replies: 1
    Last Post: 7th January 2010, 22:25

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
  •  
Qt is a trademark of The Qt Company.