Results 1 to 6 of 6

Thread: Porting Qt application from linux to Windows

  1. #1
    Join Date
    Jul 2008
    Location
    Mumbai, India
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Porting Qt application from linux to Windows

    I need to move my Qt application from Linux to Windows. We are using Cygwin for compilation(due to some other issues). What is the alternate for "qmake" for this problem that we can use for compilation?

    Thanks.

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Porting Qt application from linux to Windows

    I'm not sure, but cannot qmake generate real makefiles out of the pro-file?
    With normal makefiles you could use the normal make that should be part of Cygwin.

  3. #3
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Porting Qt application from linux to Windows

    Qt4 hasn't been ported to Cygwin (at least not last night), just Qt3. Try mingw or VS2008 Express Edition instead.

    What are the other issues?

    Pete

  4. #4
    Join Date
    Jul 2008
    Location
    Mumbai, India
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Porting Qt application from linux to Windows

    We need to use Qt4 in cygwin1.7. is there any way that this can be achieved?

  5. #5
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Porting Qt application from linux to Windows

    My Qt-4.4.3/mkspecs directory contains a directory called "cygwin-g++".

    So a simple "configure -platform cygwin-g++ <other options>" should hopefully be enough to configure Qt4 for Cygwin.

  6. #6
    Join Date
    Nov 2008
    Posts
    33
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Porting Qt application from linux to Windows

    Quote Originally Posted by Boron View Post
    My Qt-4.4.3/mkspecs directory contains a directory called "cygwin-g++".

    So a simple "configure -platform cygwin-g++ <other options>" should hopefully be enough to configure Qt4 for Cygwin.
    I tried this one, but I get at the end:

    Creating qmake...
    Makefile:12: *** missing separator. Stop.
    Makefile:12: *** missing separator. Stop.
    Cleaning qmake failed, return code 2

Similar Threads

  1. Porting Qt embedded application to windows.
    By vipin in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 14th January 2008, 16:08
  2. Font Problem Porting from Windows to Linux
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2007, 10:25
  3. Replies: 2
    Last Post: 9th June 2007, 19:19
  4. Porting Qt application on windows from linux
    By safknw in forum Qt Programming
    Replies: 13
    Last Post: 22nd May 2006, 13:11
  5. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44

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.