Fix resource loading in symbol-optimized build (non-qmake).

pull/110/head
Pat Suwalski 2012-03-28 20:04:49 +00:00
parent e7f3cb7d4e
commit 55c5cce055
2 changed files with 3 additions and 1 deletions

View File

@ -99,4 +99,4 @@ ui_%.cpp: ui_%.h
$(MOC) $< -o $@
qrc_%.cpp: %.qrc
$(RCC) $< -o $@
$(RCC) $< -name $* -o $@

View File

@ -47,6 +47,8 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Q_INIT_RESOURCE(icons);
QCoreApplication::setOrganizationName("Celestia Development Team");
QCoreApplication::setApplicationName("Celestia");