Results 1 to 2 of 2

Thread: qmake issue with UIC

  1. #1
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default qmake issue with UIC

    Qt4.3.2, Mac OS 10.4.11

    Having some trouble with uic generated headers.

    I'm doing the "subclassing" technique, subclassing the .h output file from
    the UIC compiler into a working class.

    When I do the make, I get a bunch of errors: uic-generated header doesn't contain meta-* stuff.

    Which (I'm pretty sure) means it didn't get moc'ed.

    The output file from UIC is named "ui_<name>.h". I've added that output file to my HEADERS list, but I can't get qmake to see it - it won't generate the moc sections for the "ui_<name>.h" in the Makefile.

    Any workarounds for this?

    thanx,
    rickb

  2. #2
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: qmake issue with UIC

    Woops -

    Never mind. A little RTFM on my part.

    rickb

Similar Threads

  1. qmake, uic and moc output folders
    By gri in forum Qt Programming
    Replies: 2
    Last Post: 30th March 2007, 18:55
  2. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  4. Issue with QMake
    By jcr in forum Qt Programming
    Replies: 4
    Last Post: 13th March 2006, 23:31
  5. Qt 4.1.1, no use of uic with qmake?
    By Morea in forum Newbie
    Replies: 2
    Last Post: 28th February 2006, 21: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.