Please nominate your Qt Champions for 2021!

Windows 7/8 winextras - QWinJumpList in Qt 5.2

  • There seems to be no posts covering winextras in 5.2 and i can't make it work, so:
    documentation includes examples for jump list having .begin() function, which doesn't exist in 5.2, i was wondering if someone has a working example of a simple jumplist in Qt 5.2?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What exactly doesn't work ? What error are you getting ?

  • Hi,

    thanks for the welcome.

    The program compiles, but jumplist is not shown.

    Purpose here is to build a very simple application just to see how this works.
    What I've done is created a new project "Qt Widget Application" and added the following in the mainwindow.cpp:

    @QWinJumpList* jumplist = new QWinJumpList(this);

    jumplist->tasks()->addLink(QString("AAA"), QString("C:\"));

    I couldn't find an example online that doesn't use begin() and commit() methods defined for QWinJumpList class, so i'm kinda flying blind here.

  • Lifetime Qt Champion

    It seems indeed that the example "here": use an outdated API.

    Since it changed so much, I would recommend asking about it on the interest mailing list you'll find Qt's developers/maintainers there (this forum is more user oriented)

Log in to reply