Results 1 to 8 of 8

Thread: Porting Qt3 linux app to windows qt4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Porting Qt3 linux app to windows qt4

    Quote Originally Posted by Philip_Anselmo
    I mean why? is that a change made on qt?
    the ui_form.h is the new ui made by:

    uic3 -convert form.ui > ui_form.ui?
    I saved the newly converted "form.ui" as the same name. (I actually just opened it in the Qt Designer which is able to convert the .ui file automatically. You may aswell convert it with uic3.)

    The user interface compiler (uic) generates a header file of the form named in this way:
    %.ui -> ui_%.h ("form.ui" -> "ui_form.h")
    Which is the file we must include in order to be able to use the form.
    There are basically 3 different ways of using a form designed in the designer. The direct approach is a quick and simple way to use forms, but is very inflexible. You surely want to use one of the 2 other ways. Read more about these by following the link below.

    Further documentation: Using a component in Your Application
    J-P Nurmi

  2. The following user says thank you to jpn for this useful post:

    Philip_Anselmo (12th May 2006)

  3. #2
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    12
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Re: Porting Qt3 linux app to windows qt4

    I tryied that too but no results


    it sais that Q3MainWindow is an undefined function and
    ';' expected before w

    and some errors on qsqldatabase.h:208 and so on and so on..

    I'm now installing a windows xp SP2 on a virtual machine to try to compile on that...

    I hope it works
    Battle Programmer Ph1L
    Philip_Anselmo
    Greetings From Osorno - Chile

Similar Threads

  1. Porting Qt application from linux to Windows
    By ankit17.ag in forum Qt Programming
    Replies: 5
    Last Post: 12th February 2009, 21:18
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. linux to windows porting issues
    By qtprogrammer12345 in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2008, 06:45
  4. Font Problem Porting from Windows to Linux
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2007, 10:25
  5. problem of porting from windows to linux
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2006, 08:42

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
  •  
Qt is a trademark of The Qt Company.