Beispiel #1
0
        private void btnBuildConfig_Click(object sender, EventArgs e)
        {
            try {
                _data.UEProject = QuteResolver.GetProjectInfo(txtProjectPath.Text);
                _data.ValidateEUPaths();

                if (comboKits.SelectedItem is QuteResolver.Kit)
                {
                    QuteExporter.ExportConfiguration(_data, listBuild.CheckedItems.OfType <QuteExporter.Build>());
                }
                else
                {
                    Console.Error.WriteLine("Error: No Qt Kit is selected.");
                }
            } catch (QuteException ex) {
                Console.Error.WriteLine(ex.Message);
            }
        }
Beispiel #2
0
        private void SetupAndLaunch()
        {
            try {
                _data.UEProject = QuteResolver.GetProjectInfo(txtProjectPath.Text);
                _data.ValidateEUPaths();
                if (!(comboKits.SelectedItem is QuteResolver.Kit))
                {
                    Console.Error.WriteLine("Error: No Qt Kit is selected.");
                }

                UpdateVSFiles();
                QuteExporter.ExportConfiguration(_data, listBuild.CheckedItems.OfType <QuteExporter.Build>());
                QuteExporter.ExportProject(_data);

                if (OpenInQt())
                {
                    Application.Exit();
                }
            } catch (QuteException ex) {
                Console.Error.WriteLine(ex.Message);
            }
        }