diff options
author | Itay Grudev <itay-grudev@users.noreply.github.com> | 2017-02-02 04:28:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-02 04:28:00 +0000 |
commit | 48416819186ac02296b7cc6f02aeaa3d6778a75d (patch) | |
tree | 8930b99bf77185dc15312594eb711462ebee617c /singleapplication.pri | |
parent | Fixed typo in README.md (diff) | |
download | singleapplication-48416819186ac02296b7cc6f02aeaa3d6778a75d.tar.xz |
Reverted GetUserName API usage on Windows (#25)
* Added back support for getting username on Windows
* Fixed typo in singleapplication.pri
* Compiler specific Advapi32.lib links
* Removed username debug statement
Diffstat (limited to 'singleapplication.pri')
-rw-r--r-- | singleapplication.pri | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/singleapplication.pri b/singleapplication.pri index 388e59f..cd3dd35 100644 --- a/singleapplication.pri +++ b/singleapplication.pri @@ -6,3 +6,8 @@ HEADERS += $$PWD/singleapplication.h \ SOURCES += $$PWD/singleapplication.cpp INCLUDEPATH += $$PWD + +win32 { + msvc:LIBS += Advapi32.lib + gcc:LIBS += -lAdvapi32 +} |