# common_mudules_qxtshortcut **Repository Path**: mcli10/common_mudules_qxtshortcut ## Basic Information - **Project Name**: common_mudules_qxtshortcut - **Description**: test....................... - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-08-28 - **Last Updated**: 2024-08-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Qxt qxtglobalshortcut qt5 --- [Qxt ](http://dev.libqxt.org/libqxt/wiki/Home) qxtglobalshortcut library qt5 compatibility Tested with qt5.4 on OSX 10.9.2, linux, windows (mingw and msvc) usage: ``` git clone https://github.com/ddqd/qxtglobalshortcut5.git ``` add in ur .pro file: ``` include(qxtglobalshortcut5/qxt.pri) ``` example code: ```cpp #include #include "qxtglobalshortcut.h" ... QxtGlobalShortcut *shortcut = new QxtGlobalShortcut(this); shortcut->setShortcut(QKeySequence("Shift+1")); connect(shortcut, &QxtGlobalShortcut::activated, [=]() {qDebug() << "shortcut activated";}); ```