Skip to content

Commit

Permalink
fix(test): fixed macos compile CommQT error
Browse files Browse the repository at this point in the history
  • Loading branch information
itas109 committed Aug 4, 2024
1 parent bcd2b3c commit 99f3f1c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions examples/CommQT/CommQT.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ DEFINES += _UNICODE

include($$PWD/commqt.pri)

#qmake -query => QMAKE_SPEC(msvc):win32-msvc2013 QMAKE_SPEC(mingw):win32-g++
#about windows reg
win32-msvc*:LIBS += advapi32.lib
#about windows setupapi
win32-msvc*:LIBS += setupapi.lib

win32-g++:LIBS += libsetupapi

win32:LIBS += -lsetupapi
unix:!macx:LIBS += -lpthread
macx {
LIBS += -framework IOKit
LIBS += -framework Foundation
}

0 comments on commit 99f3f1c

Please sign in to comment.