Toolbar icons not showing up
-
Hi All
I use following configuration
1.Windows 7 OS
2.VisualStudio 10.0
3.QT 4.7.3
4.QTAddIn 1.1.9I have created QApplication project & added few toolbar icons.
When i build my project in release mode & run on my same PC all the toolbar icons are displayed.
But when i try to run my App on some other PC toolbar icons will not display.I tried to create .pro file from visualstudio QTAddIn and in .pro file
i added following line
RESOURCES = teststatusbar.qrcBut even still when i run my app on PC other than PC in which App is created icons are not displayed.
How to resolve this?
-
Hi
I have .ico files which i added to the toolbar through QT designer.
Andre when i add these .ico files through designer and build it in .qrc file i see those file names with relative path.
Gerolf I kept all resource files & my .exe & other dependent .dlls in one folder & from that folder i tried to run my application on some other PC's.
-
[quote author="Rajveer" date="1318908165"]Hi
Gerolf I kept all resource files & my .exe & other dependent .dlls in one folder & from that folder i tried to run my application on some other PC's.[/quote]Then you should read the pages regarding deployment of Qt and the plugins.
I suggest, instead of using ico files, use png files as those do not need image format plugins.See:
"Qt library cross dependencies":http://developer.qt.nokia.com/wiki/Qt_library_cross_dependencies
"Deploying an Application on Windows":http://doc.qt.nokia.com/stable/deployment-windows.html
"QPixmap load fails on WinXP SP3":http://developer.qt.nokia.com/forums/viewthread/2927
"Qt plugins":http://doc.trolltech.com/latest/deployment-windows.html#qt-plugins