Results 1 to 2 of 2

Thread: Cross platform advice

  1. #1
    Join Date
    Jun 2008
    Location
    UK
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Cross platform advice

    Hi,

    Im gonna be starting a project soon, with development being done on Linux, and targetting both Linux and Windows.

    I have never really done a cross platform project before, and was wondering if anyone can reccomend me the 'easiest' approach to doing this.

    Can I, or should I do everything on linux and cross compile for windows easily? Or should i share the source files to a Windows virtual machine and compile for both OSs seperatly?

    Also does it matter which IDE i go for? I quite like QDevelop.

    Thanks alot,

    Jack

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cross platform advice

    If you are only using Qt and no extra libraries do not bother about cross platform development for now. Some minor build system issues may surface later on upon deployment as some compilers have limitations and others allow non-standardized constructs.

    Generally speaking however these will be easy to fix if they appear so you can do the development on a single machine as long as you make sure to build and test your software on all supported platforms before any release.

    The only notable exception to the "Qt rocks cross-platform deployment" rule is DLL/shared libraries : do not forget the magic macro for exported classes/functions if you are creating DLLs
    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Cross platform CPU idle timeout
    By skyphyr in forum Qt Programming
    Replies: 6
    Last Post: 9th December 2010, 17:53
  2. Crash handler on Win32
    By niko in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 19:41
  3. Cross platform live video capture & display with Qt 4
    By AlbertGoodwill in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2007, 20:55
  4. Weird Cross Platform Printing Problems
    By igor in forum Qt Programming
    Replies: 7
    Last Post: 7th August 2007, 16:25
  5. Cross compile QT/X11 for platform xscale-elf
    By nmkarvekar in forum Installation and Deployment
    Replies: 0
    Last Post: 19th May 2006, 07:20

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.