Results 1 to 6 of 6

Thread: App compiled against 4.6 won't run on 4.5 ?

  1. #1
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default App compiled against 4.6 won't run on 4.5 ?

    Hello:

    I have an application [mscore] that will only compile against Qt 4.6.
    I can successfully compile, install and run it on the same system with Qt 4.6.1 installed, however if I install the same compiled app on a system with Qt 4.5.3 installed the application will not start and produces the following error;
    Qt Code:
    1. [seve@larissa ~]$ mscore
    2. mscore: symbol lookup error: mscore: undefined symbol: _ZN11QVectorData8allocateEii
    To copy to clipboard, switch view to plain text mode 
    Other info
    Qt Code:
    1. Build Host - Qt version 4.6.1
    2. Client Machine - Qt version 4.5.3
    3. The build host and the client are x86_64 Fedora 12 running the same kernel 2.6.31.12-174.2.3.fc12.x86_64
    To copy to clipboard, switch view to plain text mode 

    I'm not a programmer and as such I have no idea what the error means so any help would be greatly appreciated.

    Thanks

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: App compiled against 4.6 won't run on 4.5 ?

    Considering that 4.6 has more fuctionality than 4.5.3, this would be the expected outcome. The solution would be to upgrade the other machine to 4.6.

  3. #3
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: App compiled against 4.6 won't run on 4.5 ?

    Compatibility is only provided in the direction that an application compiled against Qt 4.x will run with Qt 4.y libraries for x <= y.

  4. #4
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: App compiled against 4.6 won't run on 4.5 ?

    Quote Originally Posted by fatjuicymole View Post
    Considering that 4.6 has more fuctionality than 4.5.3, this would be the expected outcome. The solution would be to upgrade the other machine to 4.6.
    Thanks for the reply.
    The client machine and similar user's machines cannot be updated to 4.6.1 at this time -- the option to update from 4.5.3 to 4.6.1 is not available via the standard software repositories.
    I should have mentioned that in my original post.

  5. #5
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: App compiled against 4.6 won't run on 4.5 ?

    Quote Originally Posted by ktk View Post
    Compatibility is only provided in the direction that an application compiled against Qt 4.x will run with Qt 4.y libraries for x <= y.
    It would appear that I am out of luck unless the client machines have 4.6.1 installed.

    Thanks

  6. #6
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: App compiled against 4.6 won't run on 4.5 ?

    You can try and compile them against 4.5.3 if the apps don't use any 4.6 functionality themselves, otherwise you'll have to upgrade those machines.

Similar Threads

  1. Qwt qch compiled help
    By MikeG in forum Qwt
    Replies: 4
    Last Post: 19th June 2009, 18:08
  2. 10 GB of compiled QT
    By QPlace in forum Installation and Deployment
    Replies: 13
    Last Post: 29th April 2009, 08:05
  3. compiled program on the web
    By Noxxik in forum Installation and Deployment
    Replies: 4
    Last Post: 25th March 2009, 08:33
  4. Replies: 4
    Last Post: 28th November 2008, 21:10
  5. Qt is compiled statically, now what ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 30th May 2006, 12:46

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.