Qt qmake does not generate ui header files



  • Hi , this seams to be old problem of my , i never could generate automatically the ui headers file via qmake
    i always need to run the command :
    @ uic file.ui -o ui_file.h @

    the funny part that in visual studio under the Generated Files dir in the project tree i do see the names of the files
    that "supposed" to be generated but there are none on disk.
    this is how my qmake looks like :
    @win32:LIBS += ws2_32.lib
    QMAKE_LIBS_NETWORK = -lws2_32
    TARGET = MyApp
    QT += network webkit xml sql
    win32 {
    DEFINES +=_CRT_SECURE_NO_WARNINGS
    }
    include(qtsingleapplication/qtsingleapplication.pri)
    HEADERS+= MainWindow.h
    UT.h
    Log.h

    SOURCES+= main.cpp
    MainWindow.cpp
    UT.cpp

    FORMS+=mainwindow.ui
    config.ui

    Tell Qt Linguist that we use UTF-8 strings in our sources

    CODECFORTR = UTF-8
    CODECFORSRC = UTF-8@

    what im doing wrong here ?
    im using the latest Qt version , visual studio express 2008 on windows 7 32bit



  • you can check your folder with the result exe file.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.