Results 1 to 3 of 3

Thread: Compiling QT5 for my machine

  1. #1
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Compiling QT5 for my machine

    I have searched for a while and never found an answer.
    Does compiling QT5 for my i5 processor (with some additional flags like -march and -msse4) will produce me a noticeably faster/smaller code?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Compiling QT5 for my machine

    "noticeable" always depends on the workload, what you programs are actually doing.

    There are code paths in Qt that can make use of certain hardware features if available and enabled, but how the impact the overall program performance depends on how often the program in question is executing those paths.

    You'll have to compare for yourself.

    Cheers,
    _

  3. #3
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Compiling QT5 for my machine

    Hi!
    I managed to compile Qt5 with -march=nativ -O3 compiler flags if somebody is curious about performance differences, please write some "tests" and put it in this thread

Similar Threads

  1. Successful deployment on one machine does not work on a different machine
    By rakefet in forum Installation and Deployment
    Replies: 0
    Last Post: 6th May 2014, 15:57
  2. Qt3 and Qt4 on same machine?
    By prabhudev in forum Newbie
    Replies: 2
    Last Post: 24th May 2012, 09:41
  3. Replies: 7
    Last Post: 19th April 2011, 12:20
  4. UDP on the same machine??
    By bryang in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2011, 00:33
  5. Replies: 2
    Last Post: 22nd December 2009, 20: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.