Results 1 to 2 of 2

Thread: portability

  1. #1
    Join Date
    Jan 2013
    Posts
    22
    Thanked 3 Times in 2 Posts
    Qt products
    Qt/Embedded

    Default portability

    Hi,
    I have doubt regarding portability.
    If i developed one sample code on windows system, will it be portable on linux with minimum changes, and what type of changes will be those?

    Thanks,
    sanujas

  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: portability

    This cannot be answered generically.

    If you use Windows specific API then this will not build on anything other than Windows.
    If you don't use Windows specific API then it should build on all supported platforms.

    If you are using Windows specific data, e.g. filenames with Windows drive letters, then those will not work on non-Windows platforms.

    In a lot of cases it is possible to write programs that build and run on multiple Qt supported platforms without any change.
    But there can be corner cases and those need to be addressed individually.

    Cheers,
    _

Similar Threads

  1. Replies: 4
    Last Post: 14th April 2012, 13:45
  2. Replies: 2
    Last Post: 7th February 2011, 16:19
  3. portability in windows
    By Noxxik in forum Newbie
    Replies: 7
    Last Post: 15th March 2009, 11:43
  4. portability problems?
    By adamatic in forum Qt Programming
    Replies: 0
    Last Post: 3rd March 2009, 08:25

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.