Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QWinThumbnailToolBar troubles



  • Hi,

    I use QWinThumbnailToolBar to do some settings.
    like this :

    QWinThumbnailToolBar* thumbnailToolBar = new QWinThumbnailToolBar(this);
        thumbnailToolBar->setWindow(windowHandle());
    
        QWinThumbnailToolButton *quitButton = new QWinThumbnailToolButton(thumbnailToolBar);
        quitButton->setToolTip(tr("Quit"));
        quitButton->setIcon(QIcon(":/icones/shutIco"));
        connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));
    
        QWinThumbnailToolButton *settings = new QWinThumbnailToolButton(thumbnailToolBar);
        settings->setToolTip(tr("Settings"));
        settings->setIcon(QIcon(":/icones/images/parameters.png"));
        settings->setDismissOnClick(true);
        connect(settings, SIGNAL(clicked()), this, SLOT(parametre()));
    
        QWinThumbnailToolButton* space = new QWinThumbnailToolButton(thumbnailToolBar);
        space->setFlat(true);
    
        thumbnailToolBar->addButton(quitButton);
        thumbnailToolBar->addButton(space);
        thumbnailToolBar->addButton(settings);
    

    All seems to works. But when I depploy my application, in other folder, I join librarys, especially the Qt5WinExtras.dll, the QWinThumbnailToolBar does not apperas, but my application run correctly ?

    Any suggestion ?

    Thx