missing "About Qt" icon 46/head
authorfsb4000 <fsb4000@yandex.ru>
Tue, 11 Nov 2014 20:24:27 +0000 (02:24 +0600)
committerfsb4000 <fsb4000@yandex.ru>
Tue, 11 Nov 2014 20:24:27 +0000 (02:24 +0600)
Иконка "О Qt", в Qt 5 расположена по другому пути чем в Qt 4
Без этого минипатча, Novacoin QT с помощью Qt 5 собирался вот так:
http://i57.tinypic.com/xpyk2s.jpg

src/qt/bitcoingui.cpp

index 45e2c4c..d7bc458 100644 (file)
@@ -258,7 +258,11 @@ void BitcoinGUI::createActions()
     aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About NovaCoin"), this);
     aboutAction->setToolTip(tr("Show information about NovaCoin"));
     aboutAction->setMenuRole(QAction::AboutRole);
+#if QT_VERSION < 0x050000
     aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
+#else
+    aboutQtAction = new QAction(QIcon(":/qt-project.org/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
+#endif
     aboutQtAction->setToolTip(tr("Show information about Qt"));
     aboutQtAction->setMenuRole(QAction::AboutQtRole);
     optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);