So, I’m following this question on how to add a window to the editor for usage and find that in the Script Canvas Gem there exists QT ui files. I’ve used the latest version of QT editor (open source ver) to create a ui file with corresponding cpp/h class files. The issue is that every time I try to compile it’s complaining that it cannot find “ui_.h”.
Here’s my wscript:
def build(bld): bld.DefineGem( # Add custom build options here includes = [bld.Path('Code/CryEngine/CryAction')], win_features = ['crcfix'], editor = dict( features = ['qt5'], use = [ 'AzToolsFramework', 'AzQtComponents', 'EditorCore', 'EditorUI_QT', 'EditorCommon' ], includes = [ bld.Path('Code/CryEngine/CryCommon'), bld.Path('Code/Sandbox'), bld.Path('Code/Sandbox/Editor'), bld.Path('Code/Sandbox/Editor/Include'), bld.Path('Code/Sandbox/Plugins/EditorCommon') ], uselib =[ 'QT5CORE', 'QT5QUICK', 'QT5QML', 'QT5GUI', 'QT5WIDGETS' ], autod_uselib = ['QT5CORE','QT5GUI','QT5WIDGETS'], defines = [ 'AA_EDITOR' ] ), )
I copied what I think would need without any need for any script canvas specific stuff but it doesnt seem to compile the ui file into a “ui_.h” file…