Results 1 to 2 of 2

Thread: With Ubuntu : How to build for other platforms

  1. #1
    Join Date
    Aug 2016
    Location
    india
    Posts
    1
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question With Ubuntu : How to build for other platforms

    Hi all I am new to Qt ..

    I written an Calculator app in Qt and build executable in Ubuntu and it works fine .

    but my question is : how to build for other platforms say for windows in Ubuntu using the QT creator kits.

    Is it possible without using the wine and and installing windows apps in Ubuntu

    ps : feel free to enlighten me if my question is silly

    Thanks and regads ,
    Mohanen B

  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: With Ubuntu : How to build for other platforms

    You will need a cross-compile toolchain, a compiler that can run on Linux and produce Windows code.

    Then you have to build Qt with that and configure a "Kit" in QtCreator that uses that compiler and Qt version.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    ziro (9th September 2016)

Similar Threads

  1. Qt 5.4.2 build problem on Ubuntu 14.04
    By TTGator in forum Installation and Deployment
    Replies: 1
    Last Post: 29th October 2015, 14:08
  2. Problem after build process with ubuntu
    By zlatan14 in forum General Programming
    Replies: 1
    Last Post: 2nd July 2014, 14:22
  3. Build qt3D with qt4 under Ubuntu 12.10
    By jiapei100 in forum Qt Tools
    Replies: 2
    Last Post: 23rd February 2013, 11:01
  4. Build 32-bit Qt on 64-bit Ubuntu 10.04 LTS
    By oleg_stepanenko@bk.ru in forum Installation and Deployment
    Replies: 1
    Last Post: 26th March 2012, 19:45
  5. QT4 build debian/ubuntu package 4.2
    By patrik08 in forum Installation and Deployment
    Replies: 3
    Last Post: 21st September 2006, 08:01

Tags for this Thread

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.