[Qt-interest] release and debug png problem

Marek Bronowicki marek at cyberdeus.pl
Sun Jun 13 20:49:22 CEST 2010


Hello

I have a little problem with my soft.
I have few png icons from resources in toolbar. When I recompile it with 
DEBUG I see all icons. After recompiling it to RELEASE. Icons dissapeared.
I try to show all things that should be urgent for this case:

Windows Vista
this is a devel machine
QT 4.6.2 opensource recompiled FOR MSVC2008 Express by me with 
"-debug-and-release -opensource -stl -phonon -openssl-linked  
-multimedia"  flags.
Created a toolbar with QT Creator 1.3.
When I change build configuration to debug it works just ok. changing to 
release makes icons non-visible.

my .pro file is below
# -------------------------------------------------
# Project created by QtCreator 2010-03-02T18:58:19
# -------------------------------------------------
RC_FILE = soft.rc
include(QtSingleApplication/qtsingleapplication.pri)
include(D:/projekty/CYBERDEUS/db/db.pri)
QT += sql
CONFIG += crypto
TARGET = soft
TEMPLATE = app
SOURCES += main.cpp \
     oknoglowne.cpp
HEADERS += oknoglowne.h
FORMS += oknoglowne.ui
RESOURCES += obrazki.qrc

Any ideas?

Best Regards,
Marek Bronowicki



More information about the Qt-interest-old mailing list