Hello all!
I am having a problem with Icon and Plist in Mac
When I use just the icon in .pro my app shows the icon normally
#-------------------------------------------------
#
# Project created by QtCreator 2013-07-17T11:28:39
#
#-------------------------------------------------
QT += core gui
QT += xml
QT += printsupport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SwotGut
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
spinboxdelegate.cpp \
desabilitaselecaodelegate.cpp
HEADERS += mainwindow.h \
spinboxdelegate.h \
desabilitaselecaodelegate.h
FORMS += mainwindow.ui
RESOURCES += \
icones.qrc
macx{
ICON = icone.icns
}
#-------------------------------------------------
#
# Project created by QtCreator 2013-07-17T11:28:39
#
#-------------------------------------------------
QT += core gui
QT += xml
QT += printsupport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SwotGut
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
spinboxdelegate.cpp \
desabilitaselecaodelegate.cpp
HEADERS += mainwindow.h \
spinboxdelegate.h \
desabilitaselecaodelegate.h
FORMS += mainwindow.ui
RESOURCES += \
icones.qrc
macx{
ICON = icone.icns
}
To copy to clipboard, switch view to plain text mode
But when I define the Plist file, the icon does not appear when I run the app
#-------------------------------------------------
#
# Project created by QtCreator 2013-07-17T11:28:39
#
#-------------------------------------------------
QT += core gui
QT += xml
QT += printsupport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SwotGut
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
spinboxdelegate.cpp \
desabilitaselecaodelegate.cpp
HEADERS += mainwindow.h \
spinboxdelegate.h \
desabilitaselecaodelegate.h
FORMS += mainwindow.ui
RESOURCES += \
icones.qrc
macx{
QMAKE_INFO_PLIST = SwotGut.plist
ICON = icone.icns
}
#-------------------------------------------------
#
# Project created by QtCreator 2013-07-17T11:28:39
#
#-------------------------------------------------
QT += core gui
QT += xml
QT += printsupport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SwotGut
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
spinboxdelegate.cpp \
desabilitaselecaodelegate.cpp
HEADERS += mainwindow.h \
spinboxdelegate.h \
desabilitaselecaodelegate.h
FORMS += mainwindow.ui
RESOURCES += \
icones.qrc
macx{
QMAKE_INFO_PLIST = SwotGut.plist
ICON = icone.icns
}
To copy to clipboard, switch view to plain text mode
Bookmarks