Changeset 45 in tspsg-svn for trunk/src/main.cpp
- Timestamp:
- Aug 2, 2009, 1:50:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main.cpp
r42 r45 27 27 #pragma message("WARNING: You are using Qt version < 4.5. Application will not support some non-critical features.") 28 28 #elif (defined(__GNUC__) || defined(__MINGW32__)) 29 #warning "WARNING: You are using Qt version < 4.5. Application will not support some non-critical features." 29 #warning WARNING: You are using Qt version < 4.5. Application will not support some non-critical features. 30 #else 31 #error You are using Qt version < 4.5. Application will not support some non-critical features. To continue, please, comment line 31 at main.cpp. 30 32 #endif 31 33 #endif … … 34 36 { 35 37 QApplication app(argc, argv); 38 app.setOverrideCursor(QCursor(Qt::WaitCursor)); 36 39 QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8")); 37 40 QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8")); 38 41 QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8")); 39 app.setOrganizationName("..::Lёppsville::.. ");40 app.setOrganizationDomain(" www.leppsville.com");42 app.setOrganizationName("..::Lёppsville::.. Homes"); 43 app.setOrganizationDomain("l-homes.org"); 41 44 app.setApplicationName("TSPSG"); 42 45 MainWindow mainwindow; 43 46 mainwindow.show(); 47 app.restoreOverrideCursor(); 44 48 return app.exec(); 45 49 }
Note: See TracChangeset
for help on using the changeset viewer.