Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » custom builder for compiling Qt project(running an Qt project)
custom builder for compiling Qt project [message #1735124] Wed, 15 June 2016 16:59
Loki LE BARS is currently offline Loki LE BARSFriend
Messages: 1
Registered: June 2016
Junior Member
Hey everyone,
This is my first post and there'll be hips of it in my poor career developer.
Like the title says, I got some trouble to set a clean build step for running a Qt project.

My environment :
- virtual machine windows 7 x64
-IDE eclipse mars 2 CDT 4.5 AFAIR
-Qt 5.6 built with my own mingw
-mingwx64 gcc 4.8.2 rev2 exception sljlj

1)all I use are set in variable path system
2)I import a makefile project from a simple gui Qt automatic sources in Qtcreator
-main.cpp
-mainwindows.cpp
-mainwindows.h
-mainwindow.ui
-.pro(no special option except qt core gui = write a call fonction uic in the generate makefile)
3)I set properties project in eclipse no preferences set
a)properties project>C\C++ Build>Tool Chain Editor > mingw gcc compiler and Gnu Make Builder set
b)created 3 external tool : qmake -project qmake and mingw32-make
c)import these external tool in properties project>builder and unenable the CDT Builder
4)build the project and got main makefile, makefiles (debug and release), ui_.h, uic_wrapper and debug and release dir.
5) run one moretime mingw32-make and got my tmp file and .exe

so far so good but how could I clean this mess and make a proper builder with generic one builder CTD ? how to run the .exe in debug file eclipse ? how to debug it ?

Hope I'm enough clear !
thx
  • Attachment: DELETED.png
    (Size: 314.81KB, Downloaded 490 times)
Previous Topic:Binary Error on Ubuntu Eclipse Mars
Next Topic:How to prevent cross-gcc from adding dependency flags ?
Goto Forum:
  


Current Time: Wed Apr 24 19:51:25 GMT 2024

Powered by FUDForum. Page generated in 0.02584 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top