Results 1 to 3 of 3

Thread: Qt 4.1.1, no use of uic with qmake?

  1. #1
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt 4.1.1, no use of uic with qmake?

    Hi. With a very simple project in Qt 4.1.1, I get no call to uic when I use qmake.

    qmake -project "CONFIG -= debug_and_release debug_and_release_target"
    qmake
    make -f Makefile

    gives no call to uic to compile the userinterface. Strange!

    The .pro file contains:

    CONFIG -= debug_and_release debug_and_release_target
    TEMPLATE = app
    TARGET +=
    DEPENDPATH += .
    INCLUDEPATH += .

    # Input
    HEADERS += mainwindow.h Project1_private.h
    FORMS += mainwindow.ui
    SOURCES += main.cpp mainwindow.cpp QT.mak.cpp

    Strange.
    Any ideas?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.1.1, no use of uic with qmake?

    Do you include ui_mainwindow.h somewhere?

  3. #3
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.1.1, no use of uic with qmake?

    No but mainwindow_ui.h which doesn't work.
    ui_mainwindow.h works much better.

Similar Threads

  1. qmake sux a lot
    By singermornings in forum Qt Programming
    Replies: 6
    Last Post: 29th January 2009, 08:33
  2. qmake issue with UIC
    By rickbsgu in forum Qt Programming
    Replies: 1
    Last Post: 7th February 2008, 01:07
  3. qmake, uic and moc output folders
    By gri in forum Qt Programming
    Replies: 2
    Last Post: 30th March 2007, 18:55
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.