Hi,
I was wondering how many of you here use the Boost libraries with your Qt applications?
Regards,
Steve
Yes, I use Boost libraries for Qt applications.
Yes, I do, but only for non-Qt applications.
No, I don't use them at all.
Hi,
I was wondering how many of you here use the Boost libraries with your Qt applications?
Regards,
Steve
I have added a poll, so that everybody can answer this question easily.
steg90 (10th May 2007)
What is Boost libraries?
is this a way to become more source code line? I know only QT libs, curl, tidy, libxslt, libxml2, libexiv2 , Sablot XSLT, all lib wo can build on all OS...
my last discovery libs is http://poppler.freedesktop.org/ to transform pdf to image... but is not possibel to build if automake or autoconf is not the last version..
libraries wo is not possibel to build quick , not give sense to me. this is like to write a cin.getline from string and transform to QString
Hi,
Take a look at http://www.boost.org
Regards,
Steve
I have used Boost, but it's cumbersome to use. It is a very "academic" library that is wholly unsuitable if you are not a C++ expert. It relishes in using all of the advanced features of C++, even for the simplest of problems. It is primarily based not on Object Oriented Programming, but Generic Programming. If you don't know what a functor is, stay away!
Most things that Boost gives you are already available in Qt.
"The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry
Actually, Boost is quite interdependent as well. It's nearly impossible to take just one class (or set of related classes) out of Boost and use it by itself. And while some people are lobbying for parts of Boost to be included in a future C++ standard library, that does NOT mean Boost should be treated as a C++ standard.
I have noticed a lot of the financial trading software houses in the uk use Boost?!
There's a lot of US financial trading companies in New York using Qt :-)
Especially if their software was written by ICS
Pity I'm in the UK! I do know certain financial houses do use Boost here in the UK. I have 'played' with it in the past and used mainly the smart pointers as I often forget to delete pointers and using these, it does it for you
Smart pointers delete objects? I think we're having a different concept of smart pointers... Mine is that it sets the pointer to 0 once the object pointed is deleted. The concept you described I'd call a hijacking pointer and I don't want my pointers hijacked Anyway: QPointer.
For those who have successfully used boost libraries with Qt, I would be interested to learn about your experience... is it straightforward to integrate, and are there any packages or example projects using Qt with boost?
I haven't tried all of the boost classes, but so far I had no problems at all.
See this page: http://boost.org/doc/html/signals/s04.html#id1633734
magland (12th June 2007)
Most often it is very easy to use boost with Qt, since most of the libraries are header only libraries. You only have to download it and modify your include path. The only libraries which have to be compiled and linked to are(from http://www.boost.org/more/getting_st...ly-libraries):
and obviously most of these offer functionalities which normally you'd let Qt take care of. I've only used them for projects where I couldn't use Qt.Qt Code:
Boost.Filesystem Boost.IOStreams Boost.ProgramOptions Boost.Python (see the Boost.Python build documentation before building and installing it) Boost.Regex Boost.Serialization Boost.Signals Boost.Thread Boost.WaveTo copy to clipboard, switch view to plain text mode
Bookmarks