Can I use QT as a library just as I would use Win32 API?
Hi
I was wondering if QT could be used as simple as including a header or a couple of headers and then just using the APIs, just as you would use WIN32 API, for instance, you just add #include <windows.h> and use the API, as simple as that, nothing to install nothing difficult to do to make it run.
I've seen in the QT download page that there's a "QT Library" and I wonder if, can I use this library as easy as I can use WIN32 API?
Re: Can I use QT as a library just as I would use Win32 API?
Yes and no.
Qt is a library so it can be used like any other library, i.e. by including its headers and using its classes and functions.
Of course it is different to the system library in that it needs to be shipped with the application since it is not present on any system by default (like the system API obviously is).
Cheers,
_
Re: Can I use QT as a library just as I would use Win32 API?
Quote:
Originally Posted by
anda_skoa
Yes and no.
Qt is a library so it can be used like any other library, i.e. by including its headers and using its classes and functions.
Of course it is different to the system library in that it needs to be shipped with the application since it is not present on any system by default (like the system API obviously is).
Cheers,
_
Thanks for answering!
So, Instead of downloading the QT creator I just download the QT libraries and then add the proper headers in my code and I can develop using QT without installing any additional IDEs?
How Do I create the installer that allows me to distribute my application?
Re: Can I use QT as a library just as I would use Win32 API?
Quote:
Originally Posted by
m4l490n
So, Instead of downloading the QT creator I just download the QT libraries and then add the proper headers in my code and I can develop using QT without installing any additional IDEs?
Yes, Qt is not tied to any specific IDE.
QtCreator has some nice features for developing with Qt but one can use any editor or IDE that can deal with C++. There are even plugins for other IDEs to offer better Qt integration.
Quote:
Originally Posted by
m4l490n
How Do I create the installer that allows me to distribute my application?
The same way you would usually create an installer for the target platform.
Cheers,
_