Qt and c++ combination
-
I have downloaded qtlibraries with designer. Where can I post eventhandlers with it? Can I use qt with eclipsecdt? How does some code can open an ui? or vice verse? I am using c++
-
Hi,
I don't get what you try to do. Designer is the tool you use to create a Qt UIgraphically.
What do you want to do with eventhandlers? Or do you need signal/slot?
You can use eclipse if you want, but I never do it. I use MSVC or QtCreator.Maybe you should start with teh Qt tutorials:
http://qt-project.org/doc/qt-5/gettingstarted.html -
My first suggestion would be to download QtCreator, as it is a light weight IDE and is tailored to using Qt's libraries. Plus, it has the designer built into it. Although, most IDE's will work, since Qt is just a framework / C++ libraries.
Second, you should familiarize yourself with how Qt works in general including QMake, "Signals and Slots":http://qt-project.org/doc/qt-4.8/signalsandslots.html, and "QApplication (GUI applications)":http://qt-project.org/doc/qt-5/qapplication.html / "QCoreApplication (console applications)":http://qt-project.org/doc/qt-5/QCoreApplication.html. Once you get the basic concept of how the event system works, you should be off to the races.
Any C++ code will work in a Qt Project. Try downloading Qt from the "online installer ":http://qt-project.org/downloads , and take a look at some of the examples. The online installer includes QtCreator as well.
-
How do I convert ui graphical code to code standard c?
-
There is no tool to translate .ui to "standard c". So you need to write it or you can use "User Interface Compiler (uic)":http://qt-project.org/doc/qt-5/uic.html to translate .ui files to C++ files.
-
where is it available for download?
-
What actions do I need to do in order to write a simple helloworld for buttonclick?
-
A quick google search came up with "this":http://www.richelbilderbeek.nl/CppQtHelloWorldWindowedGui.htm example:
-
How can I import a qt4 project and set c++ code for it?
-
Hey uniunit.
Maybe you should start with reading the tutorials or a good Qt Book.
Qt is standard C++. If you know C++, and a bit of Qt, you can do all that.