Results 1 to 2 of 2

Thread: compile Windows for Linux

  1. #1
    Join Date
    Aug 2013
    Posts
    4
    Qt products
    Qt5 Qt/Embedded

    Question compile Windows for Linux

    Hello,

    I am new to Qt and for my first project (better: project-in-a-project) I got the hard stuff. I want to create a GUI for a program I wrote, running on the BeagleboneBlack (BBB). The BBB runs Agstrom (Linux) and has not enought storage for the whole QtCreator. I only got a Windows-PC. Now I have several questions:
    1) How can I compile a program under Windows, so that it runs under Linux. I read, that you have to build your own crosscompiler, and that it is very much work, isn't there someone who done it once, and is willing to share it with the world, out there?
    2) Or also acceptable: If I do the graphics under Windows pure, so that only a few lines are missing to bind it to the rest of the program, can I then just copy the whole project to the BBB, copy&paste the remaining source code, and then compile it under Linux (via qmake for example)? If so, where do I get a qmake for Linux with the needed QtLibrarys (with as little as possible unneeded things (like debugger and alike.. (Yes, I know debugger is awesome, but storage is limited)))?
    3) How can I create a .lib file from some .cpp and .hpp files with the QtCreator (or convert a .a file to a .lib file)?
    I am glad about every help!

    mergele

  2. #2
    Join Date
    Apr 2013
    Posts
    65
    Thanks
    4
    Thanked 3 Times in 1 Post
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: compile Windows for Linux

    I believe you have to have a virtual machine with a Linux and QT-SDK to linux.

Similar Threads

  1. Replies: 11
    Last Post: 9th March 2011, 16:40
  2. How do I compile for linux on windows?
    By waitingforzion in forum Newbie
    Replies: 4
    Last Post: 28th December 2009, 07:51
  3. Project won't compile under Windows (works under Linux)
    By philski in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2006, 15:29
  4. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23
  5. Replies: 4
    Last Post: 12th January 2006, 04:16

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.