Results 1 to 8 of 8

Thread: From MAC OS X to Linux

  1. #1
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default From MAC OS X to Linux

    Hi,

    i've MacBook Pro with Intel platform and i will developing on MAC OS X system applications with Qt that are to be used for Linux platform. Is anybody familiar with this solution ?
    I've also found the switch for Qt configure process with name -platform and -xplatform .. but i've not found howto or manual pages how to do it.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: From MAC OS X to Linux

    How to do what? Qt applications are portable on the source code level. You can develop an application for Linux using MacOS and then you have to compile it on Linux to get a binary version (or cross compile for Linux on MacOS, but you need the whole cross-compiler architecture for that).

  3. #3
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: From MAC OS X to Linux

    I've the cross-compile tool from this howto http://www.kegel.com/crosstool/curre...ool-howto.html .. but how can i using this cross tool ? It is useful compile now qt for X11 or i can use my current qt for Mac ?
    Seriously, i don't know, how can i exactly start working with my cross tool.
    Have you maybe some helpful howto's or url links ?

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: From MAC OS X to Linux

    We use a linux box here. We copy the source there and do a qmake && make on it. Because you have an intel mac, you might want to have a look at bootcamp or parallels workstiation. Both enable you to install linux beside macos. Parallels is nicer because linux can run in a window beside macos where you have to reboot when using bootcamp. The downside is that you have to buy parallels, it's a commercial product, but compareable cheap.
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: From MAC OS X to Linux

    Thank you for your answer.
    Yes, this sollution is one from possibilities but degrade performance of CORE DUAL CPU on my MacBook. I've already Qemu with linux OS and this is not, what can man daily using. I search another solution.

  6. #6
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: From MAC OS X to Linux

    Quote Originally Posted by DoNaLd
    Thank you for your answer.
    Yes, this sollution is one from possibilities but degrade performance of CORE DUAL CPU on my MacBook. I've already Qemu with linux OS and this is not, what can man daily using. I search another solution.
    You can get a small, slow and cheap PC and put Linux on it. It doesn't even need a monitor (borrow one for the install). Then SSH into it, and do all your porting native on Linux.

  7. #7
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: From MAC OS X to Linux

    Thanks
    but if i'm on the way, traveling with 2 PC is not comfortably.

  8. #8
    Join Date
    Jul 2006
    Posts
    79
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: From MAC OS X to Linux

    Quote Originally Posted by DoNaLd
    Thank you for your answer.
    Yes, this sollution is one from possibilities but degrade performance of CORE DUAL CPU on my MacBook. I've already Qemu with linux OS and this is not, what can man daily using. I search another solution.
    i've read, that parallels is much faster than qemu..

    regards, aman..

Similar Threads

  1. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44
  2. Moving Qt(WIndows) exe to Qt - Linux
    By Kapil in forum Qt Programming
    Replies: 1
    Last Post: 11th May 2006, 09:20
  3. Qt 4.1.2 Fails to build on Linux
    By rohandhruva in forum Installation and Deployment
    Replies: 6
    Last Post: 16th April 2006, 21:44
  4. Crosscompile Qt in Linux
    By Morea in forum General Discussion
    Replies: 4
    Last Post: 13th April 2006, 18:19
  5. Replies: 4
    Last Post: 12th January 2006, 04:16

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.