Hi, I’m fairly new to c++/QT and I have some questions:
1. Can BOOST libraries be integrated with QT?
2. Can the STL and standard c++ libraries be integrated with QT ?
Thanks,
Joe
Hi, I’m fairly new to c++/QT and I have some questions:
1. Can BOOST libraries be integrated with QT?
2. Can the STL and standard c++ libraries be integrated with QT ?
Thanks,
Joe
1. Yes
2. Yes
C++ does not suddenly start behaving differently just because you are using the Qt libraries. There are a few things you might need to do slightly differently to avoid name collisions with the pseudo-keywords emit, signals, and slots: see the bottom of the "Signals and Slots" pages in Assistant.
frank100 (19th January 2011)
Yes, with one exception. The boost::signals library conflicts with Qt keywords. There's some funny stuff you can do to make them play well together...or you can just use signals2 instead, which has no such problem and is MT safe.
As to the standard lib...you might have to convert your datatypes from time to time because Qt reinvented a lot of those wheels and of course uses its own versions in its interfaces.
This rude guy who doesn't want you to answer his questions.
Note: An "expert" here is just someone that's posted a lot.
"The fact of where you do the encapsulation is meaningless." - Qt Certified Developer and forum moderator
In this article (especially at the end) you'll find some of the differences between Tulip and STL explained:
http://doc.trolltech.com/qq/qq19-containers.html
Thanks all very much for your response.
Joe
Bookmarks