[Qt-interest] tmake / uic issues

j j at dynamica.org
Mon Jan 11 15:46:20 CET 2010


Hi there, 

I'm trying to set my project up for use with Qt 
and designer .ui files, so Ive followed the explanation on:
http://doc.trolltech.com/2.3/designer/chap5_4.html

I believe I have everything setup correctly, but after runnimg tmake 
and then nmake ( im on win32/msvc ) uic breaks the process, I believe 
because of a malformed arguments list. 

what's going on ?

here's the output of nmake:

------------------------------

E:\development\test\src\Qt>tmake  customwidgetplugin.pro -o Makef
ile

E:\development\test\src\Qt>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        uic untitled.ui -i untitled.h -o untitled.cpp
Qt User Interface Compiler version 4.6.0
Usage: E:\development\QtPrecompiled-4.6\bin\uic.EXE [options] <uifile>

  -h, -help                 display this help and exit
  -v, -version              display version
  -d, -dependencies         display the dependencies
  -o <file>                 place the output into <file>
  -tr <func>                use func() for i18n
  -p, -no-protection        disable header protection
  -n, -no-implicit-includes disable generation of #include-directives
                            for forms generated by uic3
  -g <name>                 change generator

NMAKE : fatal error U1077: 'E:\development\QtPrecompiled-4.6\bin\uic.EXE' :
retu
rn code '0x1'
Stop.

-----------------

and here's the project file:

INTERFACES  = untitled.ui
CONFIG      = app debug warn_on

HEADERS = GLWidget.h customwidgetplugin.h
SOURCES = GLWidget.cpp customwidgetplugin.cpp

------------------

tia,

Jochem



More information about the Qt-interest-old mailing list