Results 1 to 4 of 4

Thread: Is the answer to always build your own?

  1. #1
    Join Date
    Oct 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Is the answer to always build your own?

    Greetings:

    I am struggling with the Qt development environments lack of binary consistency. By this I mean what you can down load as binary packages, are often incompatible.

    Let’s take what I would consider reasonable development environment. It would consist of

    -Qt core framework
    -QtCreator
    -QtCreator Plugins
    QWT, some nice extra widgets
    SVN, version control
    Doxygen
    -Additional libraries
    QWT
    And for consistency we say all of these are current version.

    Now I add a platform and compiler, let’s say Win7, MSVS 2012, 64 bit. The chances of finding binaries to “complete the set” are not high. So certainly I could always build my own from the source repositories, but let’s face it that is not a trivial task. And once you do build your own compatible suite, in 6 months you get to do it again as new versions come out.

    I am probably just whining , just wondering what other folks do?
    - Do you pair up with other trusted developers and share
    - Lone wolf it, and build it all yourself
    - Not use things because they are too much work.
    - Is there a secret stash of binaries , I know of :

    Frankly the Qtx64 repository seems the most promising for my needs.

    So what do you do?

    Regards
    Carl

  2. #2
    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: Is the answer to always build your own?

    I don't understand why you'd want to have QtCreator and QtCreator plugins built with the same compiler and Qt version as the Qt release you are using. It is kind of obvious that you can use Qt Creator with more than one Qt release so there wouldn't be a point in having a separate Creator build for different Qt builds.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Is the answer to always build your own?

    If I understand correctly the QTCreator plugin for QWT has to be binary compatible with the version of QtCreator. ( a dll/shared library issue )
    So on my platform my that means I have:

    64 bit MSVS 2012 versions of QWT libraries/dlls for the code I want to distrib
    32 bit MSVS 2010 versions of the QWT dll's to load into QtCreator

    It has been my experience that mixing "bitness" and compiler versions leads to dll (shared lib) hell.

    Am I missing something?

    Thanks for the reply.

  4. #4
    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: Is the answer to always build your own?

    Creator needs its plugins to be built with binary compatible tool chain but you only need to build a particular plugin once and you can continue to use it for years. Plugin authors can provide their plugins in binary versions compatible with Creator on popular platforms. This has nothing to do with plugins you build your apps against. These need to be rebuilt whenever you want to use a newer version of the plugin or when you upgrade Qt.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 4
    Last Post: 27th August 2013, 08:34
  2. Replies: 0
    Last Post: 4th April 2011, 11:18
  3. Replies: 2
    Last Post: 21st June 2010, 06:02
  4. will someone plz answer my queries on touch functionality/tslib
    By rishiraj in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th January 2009, 14:45
  5. Replies: 9
    Last Post: 4th June 2008, 12:29

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.