Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, December 2007
qmake problem in Qt 4.3.3 OpenSource for windows


Message 1 in thread

There appears to be a qmake problem in Qt 4.3.3 opensource on windows. 

When qmake runs it generates makefiles that use backslashes "\"  for
sources & forward slashes "/" for objects (Qt 4.3.2 does not do this).
Consequently under 4.3.3 the makefile for .ui files (or any other)
contains targets that cannot be recognised nor built. The uic never
runs. eg.

SOURCES      = ...
	release\qrc_images.cpp
OBJECTS       = tmp/example.o \

tmp/moc_example.cpp: include/example.h \


When I try to run these makes I get:-

mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/examples'
mingw32-make[1]: *** No rule to make target `tmp\ui_example.h', needed
by `.
.\bin\example.exe'.  Stop.
mingw32-make[1]: Leaving directory `C:/examples'
mingw32-make: *** [release] Error 2

If I modify just one of these targets the uic runs & builds the target
as follows:-

mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/examples'
c:\Qt\4.3.3\bin\uic.exe ui\example.ui -o tmp\ui_example.h

Is this change intentional or a feature, if so how do I get makefile
targets that can build?

Regards,	
David Robinson

  


Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email.  

Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187

Scanned for viruses by BlackSpider MailControl.