------------------------------------------------------------
revno: 2241
fixes bug(s): https://launchpad.net/bugs/582679
committer: Václav Šmilauer <[email protected]>
branch nick: trunk
timestamp: Wed 2010-05-19 09:45:06 +0200
message:
  1. add explicit qt dependencies.
modified:
  gui/SConscript


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to 
https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'gui/SConscript'
--- gui/SConscript	2010-03-27 22:18:10 +0000
+++ gui/SConscript	2010-05-19 07:45:06 +0000
@@ -31,3 +31,15 @@
 		env.SharedLibrary('_qt',['qt3/QtGUI-python.cpp'],SHLIBPREFIX='',LIBS=['QtGUI'],CPPPATH=env['CPPPATH']+[env['buildDir']+'/gui/qt3']), # CPPPATH is for files generated by moc which are indirectly included
 		env.File('qt.py','qt3'),
 	])
+
+	
+	#
+	# HACK that works around 
+	#    https://bugs.launchpad.net/yade/+bug/406343
+	#    https://bugs.launchpad.net/yade/+bug/582679				
+	# Not clear why scons is not picking up the dependency automatically
+	# Do not remove.
+	#
+	gens=['$buildDir/gui/qt3/'+h for h in 'QtGeneratedSimulationController.h','QtGeneratedMessageDialog.h','YadeQtGeneratedMainWindow.h','QtFileGeneratorController.h']
+	env.Depends(['qt3/FileDialog.cpp','qt3/GLViewer.cpp','qt3/MessageDialog.cpp','qt3/QtFileGenerator.cpp','qt3/QtGUI.cpp','qt3/QtGUIPreferences.cpp','qt3/SimulationController.cpp','qt3/YadeQtMainWindow.cpp','qt3/YadeCamera.cpp'],gens)
+

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to