TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
LIBS += -lpthread #静态库
LIBS += -L "/usr/lib/x86_64-linux-gnu" -lrt #经过测试了
QMAKE_CXXFLAGS += -std=c++11
SOURCES += \
source/main.cpp
TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
LIBS += -lpthread #静态库
LIBS += -L "/usr/lib/x86_64-linux-gnu" -lrt #经过测试了
QMAKE_CXXFLAGS += -std=c++11
SOURCES += \
source/main.cpp
本文标题:QT第三方库-librt(posix-timer)
本文链接:https://www.haomeiwen.com/subject/vetjdqtx.html
网友评论