Qt pro文件中判断操作系统类型

参考:https://zhidao.baidu.com/question/331182996978018685.html

win32 {
    DEFINES  -= UNICODE
    LIBS += -lodbc32
}
unix {
    LIBS += -lodbc
}

linux属于unix

posted @ 2024-09-28 14:15  寻找繁星  阅读(4)  评论(0编辑  收藏  举报