qt中涉及到空格路径,qmake是无法正确编译的。
需要在空格路径前面加上$$quote
INCLUDEPATH += $$quote(C:/Program Files/MySQL/MySQL Server 5.7/include)
LIBS+= -L$$quote(C:/Program Files/MySQL/MySQL Server 5.7/lib) -llibmysql