Add the magic incantation to get icons into the cmake build.
No idea why the qtcreate build worked without this. See http://developer.qt.nokia.com/doc/qt-4.8/resources.html @Gerald: I've most likely put this into the wrong place, please verify/fix. Thanks to Alexander Neundorf for spotting this and proposing a fix. svn path=/trunk/; revision=40841
This commit is contained in:
parent
67d74b7f4e
commit
84f869cb2e
|
@ -263,6 +263,10 @@ WiresharkApplication::WiresharkApplication(int &argc, char **argv) :
|
|||
{
|
||||
wsApp = this;
|
||||
|
||||
Q_INIT_RESOURCE(display_filter);
|
||||
Q_INIT_RESOURCE(toolbar);
|
||||
Q_INIT_RESOURCE(welcome);
|
||||
|
||||
recentTimer = new QTimer(this);
|
||||
connect(recentTimer, SIGNAL(timeout()), this, SLOT(refreshRecentFiles()));
|
||||
recentTimer->start(2000);
|
||||
|
|
Loading…
Reference in New Issue