Results 1 to 3 of 3

Thread: how to create *.cpp file fm *.ui

  1. #1
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy how to create *.cpp file fm *.ui

    i m using Qt4 evaluation version
    n making a .ui file n a .cpp(main) file.
    i can execute
    qmake -project
    qmake
    nmake

    but now i want the cmds to get a *.cpp file fm *.ui file using uic?
    when i m sayig uic -o x.cpp x.ui
    then i m getting the same file content as i m getting with uic -o x.h x.ui

  2. #2
    Join Date
    Mar 2006
    Posts
    48
    Thanks
    5
    Thanked 4 Times in 3 Posts

    Default Re: how to create *.cpp file fm *.ui


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

    Shuchi Agrawal (11th January 2007)

  4. #3
    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: how to create *.cpp file fm *.ui

    Qt4 uic only has outputs include file, there is no implementation file like there was in Qt3. All you need is uic -o x.h x.ui, read x.h and you will see what I mean.

  5. The following user says thank you to Brandybuck for this useful post:

    Shuchi Agrawal (11th January 2007)

Similar Threads

  1. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 11:47
  2. How To Extract A File
    By deekayt in forum General Programming
    Replies: 7
    Last Post: 5th December 2006, 18:27
  3. .ui file name and classname
    By Rekha in forum Newbie
    Replies: 3
    Last Post: 12th August 2006, 01:53
  4. SQLite-DB in a qrc file
    By Lykurg in forum Qt Programming
    Replies: 5
    Last Post: 31st July 2006, 19:24
  5. File permission QFile::WriteOther on Win Dos
    By patrik08 in forum Newbie
    Replies: 1
    Last Post: 13th June 2006, 14: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.