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:
Jörg Mayer 2012-02-04 14:27:14 +00:00
parent 67d74b7f4e
commit 84f869cb2e
1 changed files with 4 additions and 0 deletions

View File

@ -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);