Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Release dont show jpeg-Images

$
0
0
Hello guys, i have a little problem with my projekt. If i compile it into a release project, it dont shows any jpeg-images anymore. I used Google but.. all solution dont works for me. Maybe im just a little bit stupid, but I hope you can help with this “little problem”. :( Code for images: palette->setBrush(QPalette::Background,*(new QBrush(*(new QPixmap(":/data/imageIntro.jpeg"))))); and QPixmap preview = QPixmap(":/data/preview.jpeg","JPEG"); My directory: /MyApp/MyApp.exe /MyApp/data.qrc /MyApp/Qt5Core.dll /MyApp/Qt5Widgets.dll /MyApp/allotherneededDLL /MyApp/platforms/qwindows.dll /MyApp/imageformats/qjpeg.dll My .pro-File: QT       += core gui   greaterThan(QT_MAJOR_VERSION, 4): QT += widgets   TARGET = MyApp TEMPLATE = app   SOURCES += main.cpp\         mainwindow.cpp   HEADERS  += mainwindow.h   FORMS    += mainwindow.ui   RESOURCES += \     data.qrc       VERSION = 1.0.0     (...) My Qt-Version: Qt 5.2 MSVC10 32Bit

Viewing all articles
Browse latest Browse all 2113

Latest Images

Trending Articles



Latest Images