Run Qt in Eclipse??!
I wrote a program with Qt Creator which works fine, now I want to run and test it in eclipse as well. The problem is when I give the project name and application path in Run Configuration I got this error:
"The project specified in the launch configuration is not a C/C++ one."
But actually it is c++ and application I give is main.cpp.
I also would like to have a test class, like in java which is junit, to test the methodes and classes. But I don't know how to write it for Qt Project!!
I am looking for your suggestions and solutions:)
tobias.hunger last edited by
I can not help with eclipse, but for testing you can check out QtTest in help mode of Qt Creator for testing.
Qt Creator and Eclipse use own (and very different) project files, they are not interchangeable. You will have to create an empty C++ project in Eclipse and add all your source files into it.
leon.anavi last edited by
Qt can be set up on "Carbide.C++":http://qt-project.org/wiki/Carbide.c IDE which is based on Eclipse. May be you can get some hints how to load a Qt Project into Eclipse from "this tutorial about Carbide.C++":http://www.developer.nokia.com/Community/Wiki/Qt_Tutorial_Lesson_1:_Installation#Setup_Qt_on_Carbide_C.2B.2B.
Update: Or you can just read this article how to "Develop Qt C++ applications in Eclipse":http://labs.qt.nokia.com/2007/07/11/develop-qt-applications-in-eclipse/ :)
Thank you all for the answers. I will read the tutorial and may ask again if I got some problem:)