Changeset 7430 for sandbox_qt
- Timestamp:
- Sep 12, 2010, 6:52:54 PM (14 years ago)
- Location:
- sandbox_qt/src/orxonox
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox_qt/src/orxonox/CMakeLists.txt
r7423 r7430 25 25 SET_SOURCE_FILES(ORXONOX_SRC_FILES 26 26 Main.cc 27 MainWindow.cc 27 28 ) 28 29 … … 31 32 ORXONOX_ADD_LIBRARY(orxonox 32 33 FIND_HEADER_FILES 34 QT_MOC_FILES 35 MainWindow.h 36 QT_UIC_FILES 37 MainWindow.ui 33 38 LINK_LIBRARIES 34 39 ${QT_QTCORE_LIBRARY} -
sandbox_qt/src/orxonox/Main.cc
r7425 r7430 34 34 */ 35 35 36 #include " OrxonoxPrereqs.h"36 #include "Main.h" 37 37 38 38 #include <QApplication> … … 42 42 #include "core/CommandLineParser.h" 43 43 #include "core/Core.h" 44 #include "Main .h"44 #include "MainWindow.h" 45 45 46 46 namespace orxonox … … 62 62 Core core(arguments.join(" ").toStdString()); 63 63 64 QCoreApplication::setOrganizationName(""); 65 QCoreApplication::setOrganizationDomain(""); 66 QCoreApplication::setApplicationName(""); 64 QCoreApplication::setOrganizationName("Orxonox"); 65 QCoreApplication::setOrganizationDomain("www.orxonox.net"); 66 QCoreApplication::setApplicationName("Orxonox Sandbox"); 67 QString versionString; 68 versionString += QString::number(ORXONOX_VERSION_MAJOR); 69 versionString += QString::number(ORXONOX_VERSION_MINOR); 70 versionString += QString::number(ORXONOX_VERSION_PATCH); 71 QCoreApplication::setApplicationVersion(versionString); 67 72 68 73 if (CommandLineParser::getValue("generateDoc").toString().isEmpty()) 74 { 75 MainWindow window; 76 window.show(); 69 77 return app.exec(); 78 } 70 79 else 71 80 return 0;
Note: See TracChangeset
for help on using the changeset viewer.