[Qt-interest] tmake / uic issues
Sean Harmer
sean.harmer at maps-technology.com
Mon Jan 11 16:03:44 CET 2010
Hi,
welcome to the list. Why are you using such an ancient version of Qt? I would
seriously recommend you to upgrade to Qt 4.6.
Sean
On Monday 11 January 2010 14:46:20 j wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list