summaryrefslogtreecommitdiffstats
path: root/qtsingleapplication
Commit message (Collapse)AuthorAgeFilesLines
* Use SPDX license identifiersHEADmasterRalf Habacker2022-10-2418-701/+35
| | | | | | | Task-number: QTSOLBUG-205 Change-Id: I3374031a1c4ce0b806d4b3c8599fbba20099dfe3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* QtSingleApplication: Fix build with Qt 6Benjamin Terrier2022-03-171-1/+2
| | | | | | | Replace QRegExp by QRegularExpression Change-Id: I52e997452ad7d2d14de59ad8fae597de9aec262b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSingleApplication: compiler warning about enum comparisonPhilippe Steinmann2017-09-141-1/+1
| | | | | | | | Compiler outputs a warning because of comparison between QLocalSocket::LocalSocketState and QAbstractSocket::SocketState. Change-Id: Idbae5c3c32a32324e07972e0bb0808fc40ef7624 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* QtSingleApplication: Bail out of read loop when peer disconnectsFriedemann Kleint2017-05-101-1/+10
| | | | | | | | | | | | | When messages are received while the event loop is inactive (for example, when locked by a native dialog), it can happen that a new connection is triggered which then goes into unconnected state when the peer terminates. Add a check to the loop and discard the connection in that case. Task-number: QTSOLBUG-193 Change-Id: I7d5502cb411d2b967bd06fe8734b97fee54b7d18 Reviewed-by: Joni Poikelin <joni.poikelin@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* QtSingleApplication: Fix build with Qt 5.5Jan Kundrát2015-06-291-0/+1
| | | | | | | | | ...due to the QDataStream include cleanup. Change-Id: I159b28a82abc9956802967d96b5b12f5fd46e961 Reviewed-by: Heiko Becker <heirecka@exherbo.org> Reviewed-by: Davide Pesavento <davidepesa@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* build: use qt5LibraryTarget() with Qt >= 5.4.2Davide Pesavento2015-06-291-1/+9
| | | | | | | | | | | qtbase commit 67289d0dfa64bf805c7ff2e455611affaea28558 restored qtLibraryTarget() to its original behavior, and introduced a new function qt5LibraryTarget() with the new behavior. Therefore we have to use the new function if available, so that Qt4 and Qt5 libraries can be installed side-by-side. Change-Id: Iff644bdc48984eb48c6fac2025c203502dfb2f79 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* QtSingleApplication: Make sure client reads ack data before disconnectingNils Jeisecke2013-04-091-0/+1
| | | | | | | | | | This solves the problem on Windows that sometimes a second application instance is started. Task-number: QTSOLBUG-160 Change-Id: I6586e2ccfbc1d640bcf42bc3bdbeed32a981d842 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix warning about missing config.pri in Qt 5.Friedemann Kleint2013-02-151-1/+1
| | | | | | | | | For non-library-builds, no config.pri is generated by the configure(.bat) scripts. Change-Id: Ia39644d860d43cd322b3dd099a5d67248cd231be Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* configure.bat: Do not print usage when invoked correctly.Friedemann Kleint2013-02-151-0/+1
| | | | | Change-Id: Iecbb5235a7e3b7d92352784a858eed7148d648aa Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1021-21/+21
| | | | | Change-Id: I4520cf54a4c8d6ff6119dc3762d9aeac42b66af5 Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Fix compilation of the QtSingleApplication solution with Qt 5.Friedemann Kleint2013-01-072-4/+8
| | | | | | Change-Id: I48c20f8b96306d56bb6c365f6cb12dac795a0905 Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
* Define QT_WA if using Qt 5Jonathan Liu2012-12-291-0/+4
| | | | | | | | Qt 5 always uses Unicode so define QT_WA to always select the Unicode path if using Qt 5. Change-Id: Ib0f0f403180442278728201c64cc79c284e2cb93 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Change Q_WS_WIN to Q_OS_WIN for Qt 5 compatibilityJonathan Liu2012-12-292-2/+2
| | | | | | | | Q_WS_WIN has been removed in Qt 5 so use Q_OS_WIN instead which exists in both Qt 4 and Qt 5 where appropriate. Change-Id: Icc9328f8d28da244dc828e670e2d6402c86a419b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add additional modules to QT variable if using Qt 5Jonathan Liu2012-12-292-0/+2
| | | | | Change-Id: I4532bb7de8a8772f08257ee3a14d28b0eda4e9bf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Remove module prefix from includesJonathan Liu2012-12-2910-22/+22
| | | | | | | | The module prefix is not needed and removing it adds compatibility with Qt 5 which has classes moved into different modules. Change-Id: I20823be670d78ba6cc8eb0e5de1f4f3b6fa2edb6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Change copyright from Nokia to DigiaSergio Ahumada2012-12-2721-160/+250
| | | | | | Change-Id: Ie75877290e0bce06c8b5a24ed664e8aceaf2cac0 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fix '::getuid' has not been declared compile errorJonathan Liu2012-12-211-0/+2
| | | | | | | Task-number: QTSOLBUG-102 Change-Id: Idd30a013e4b1d113531e2a90c4b15924ca005788 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Added multiple inclusion protection in .h files.Sam Protsenko2011-09-073-0/+12
| | | | | | Task-number: QTSOLBUG-146 Merge-request: 4 Reviewed-by: ossi
* Long live the Qt Solutions archive!aavit2010-10-0649-0/+4108
This commit adds the contents of distribution packages of the relevant subset of the Qt Solutions components, generated from the last versions in Perforce.