Hi,
I have a problem with resources. I want to use a image as icon as WindowIcon
and SystemTrayIcon.
For this I created a .qrc fle:

Qt Code:
  1. <!DOCTYPE RCC><RCC version="1.0">
  2. <qresource >
  3. <file>web_logo.jpg</file>
  4. </qresource>
  5. </RCC>
To copy to clipboard, switch view to plain text mode 

and I make the statment in my .pro file:

Qt Code:
  1. TEMPLATE = app
  2. TARGET =
  3. DEPENDPATH += .
  4. INCLUDEPATH += .
  5. QT += network
  6. # Input
  7. #FORMS += GAB_tool.ui
  8. RESOURCES += gabtool.qrc
  9. SOURCES += main.cpp
  10. HEADERS +=ui_GAB_tool.h
To copy to clipboard, switch view to plain text mode 

I use the Q_INIT_RESOURCE function for the .qrc file in my main function.

Then I use the source in this way:

Qt Code:
  1. .....
  2. MainWindow->setWindowIcon(QIcon(QString::fromUtf8(":/web_logo.jpg")));
  3. ....
  4. trayicon = new QSystemTrayIcon(QIcon(QString::fromUtf8(":/web_logo.jpg")));
  5. trayicon->show();
  6. ......
To copy to clipboard, switch view to plain text mode 
The problem is, only on my system the icons are showed. On other systems the icons
are not showed. The other systems are Windows 2000 and XP. In case of the SystemTrayIcon the space for the icon is created and the actions also work. (right click menue and so on) Only the icon itself is not.
On systems where the complete Qt instalation for development is installed it works !
Has someone an idea what's wrong.
Greetings,
SuperSonik