Hi guys...

I had develop my app using QtQuick and I can't put the app icon

I had look over internet but the advises does not fix my problem...

I had generate a XCode project to put there my icons and it doesn't work...

i had read this http://qt-project.org/doc/qt-5/appicon.html but I can't put the 
icon

my main.cpp is this:

#include <QApplication>
#include <QQmlApplicationEngine>
#include <QIcon>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QQmlApplicationEngine engine;
    engine.load(QUrl(QStringLiteral("qrc:///main.qml")));
    app.setWindowIcon(QIcon("://adviser.icns"));

    return app.exec();
}


and I had added to mi .pro this line:

ICON = adviser.icns


so... where is my problem ??

best regards


Freddy Martinez Garcia
Lic. Ciencia de la Computacion
C++ and Qt Senior Developer
Software Manager at Eulerideas
www.eulerideas.com
[email protected]

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to