[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/unsermake
From:       David Faure <faure () kde ! org>
Date:       2006-04-12 11:58:00
Message-ID: 1144843080.442399.25200.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 529015 by dfaure:

Untested, but generate ui_foo.h for ui-4 files, so that the code can use ui_foo.h for \
both cmake and unsermake (during the migration)


 M  +2 -2      designer.um  


--- trunk/kdenonbeta/unsermake/designer.um #529014:529015
@@ -64,7 +64,7 @@
 				utilities.print_error( "%s: You cannot use Qt 4 .ui-files with Qt/KDE 3! Please \
use a Qt 4-based build system.\n"   % (rulef.filename) )
 			uic_version = "$(UIC)"
-			outputfile = rulef.build + base + ".h"
+			outputfile = rulef.build + "ui_" + base + ".h"
 
 		rules = ["@echo '%s %s%s'" % (utilities.creating_text, outputfile, \
utilities.normal)]  
@@ -134,7 +134,7 @@
 			if uifile_version == 3:
 				program.cleanfiles.extend([base + ".h", base + ".cpp"])
 			else:
-				program.cleanfiles.append(base + ".h")
+				program.cleanfiles.append( "ui_" + base + ".h")
 			
 		if uifile_version == 3:
 			program.handle_source(base, ".cpp")


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic