I'm compiling a static application on Windows XP with MSVC 2005 Pro and Qt 4.4.1. Here is what I've done so far:

c:\Qt\4.4.1> configure -static -qt-libjpeg -release
c:\Qt\4.4.1> nmake sub-src

Here is my .pro file:
Qt Code:
  1. TEMPLATE = app
  2. QT += opengl
  3. CONFIG += static
  4. QTPLUGIN += qjpeg
  5. RESOURCES += symbols.qrc
  6.  
  7. HEADERS += window.h
  8. SOURCES += window.cpp \
  9. main.cpp
To copy to clipboard, switch view to plain text mode 

Here is my .qrc file:
Qt Code:
  1. <!DOCTYPE RCC><RCC version="1.0">
  2. <qresource>
  3. <file>symbols.jpeg</file>
  4. </qresource>
  5. </RCC>
To copy to clipboard, switch view to plain text mode 

Here is my main.cpp:
Qt Code:
  1. #include <QApplication>
  2. #include <QtPlugin>
  3. #include "window.h"
  4.  
  5. Q_IMPORT_PLUGIN(qjpeg)
  6.  
  7. int main(int argc, char *argv[])
  8. {
  9. Q_INIT_RESOURCE(symbols);
  10. QApplication app(argc, argv);
  11. Window window;
  12. window.show();
  13. return app.exec();
  14. }
To copy to clipboard, switch view to plain text mode 

Here is my call to the image:
Qt Code:
  1. QImage symbols = QImage(":/symbols.jpeg");
To copy to clipboard, switch view to plain text mode 

This application compiles and works great on developer machine. After running it on another computer that does not have Qt or MSVC the application runs but the image does not show up.

I've read the Deployment manuals, the Plugin manuals, and a lot of posts on the forum for this topic. I'm still missing something. I've even tried .bmp, .gif. and now .jpeg.

Any ideas?