View Poll Results: Do you use Boost libraries?

Voters
20. You may not vote on this poll
  • Yes, I use Boost libraries for Qt applications.

    3 15.00%
  • Yes, I do, but only for non-Qt applications.

    3 15.00%
  • No, I don't use them at all.

    14 70.00%
Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

Thread: Boost libraries

  1. #21
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Boost libraries

    Quote Originally Posted by wysota View Post
    Correct?
    Yes.

    Quote Originally Posted by wysota View Post
    Of course all these might fail if you use any regular pointers with the same object.
    Like everything which deals with pointers.

  2. #22
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Boost libraries

    Quote Originally Posted by jacek View Post
    Like everything which deals with pointers.
    But not QPointer

  3. #23
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    300
    Thanks
    9
    Thanked 29 Times in 29 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Boost libraries

    Quote Originally Posted by wysota View Post
    But not QPointer
    It's nothing to boast about if your smart pointer is restricted to QObject descendants.
    "The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry

  4. #24
    Join Date
    Jan 2006
    Location
    Frankfurt, Germany
    Posts
    34
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Boost libraries

    What I've tried from boost yet was just great. If you need to do parsing: Have a look at Boost.Spirit. It uses TMP (template meta programming) and gives C++ a completely new dimension

  5. #25
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Boost libraries

    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?

  6. #26
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Boost libraries

    Quote Originally Posted by magland View Post
    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

  7. The following user says thank you to jacek for this useful post:

    magland (12th June 2007)

  8. #27
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Boost libraries

    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):
    Qt Code:
    1. Boost.Filesystem
    2. Boost.IOStreams
    3. Boost.ProgramOptions
    4. Boost.Python (see the Boost.Python build documentation before building and installing it)
    5. Boost.Regex
    6. Boost.Serialization
    7. Boost.Signals
    8. Boost.Thread
    9. Boost.Wave
    To copy to clipboard, switch view to plain text mode 
    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.

Similar Threads

  1. Combining Qt with other libraries (Boost, ...)
    By Raistlin in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2007, 07:28
  2. how to add new libraries to QT
    By whoops.slo in forum Newbie
    Replies: 3
    Last Post: 12th January 2007, 12:15
  3. Qt 3.3 libraries
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 21st December 2006, 18:25
  4. Standardization on libraries
    By brcain in forum General Discussion
    Replies: 13
    Last Post: 16th August 2006, 23:56
  5. Replies: 4
    Last Post: 7th March 2006, 09:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.