我正在为QT5.0.2在ubuntu13.10上安装QODBC驱动程序。我遵循了正式文档(请参阅http://qt-project.org/doc/qt-5/sql-driver.html#qodbc),但仍停留在其中一个步骤上。当我试着去做
qmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc"它只是给我看了qmake的帮助手册,什么也不做。所以我试着做一个空的Makefile,然后把它作为一个参数传递
qmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc" Makefile当我试图“生成”生成的Makefile时,它会显示以下错误:
Makefile:183: warning: overriding commands for target `Makefile'
Makefile:130: warning: ignoring old commands for target `Makefile'
make: Circular Makefile <- Makefile dependency dropped.
make: Circular Makefile <- Makefile dependency dropped.
make: Nothing to be done for `first'.发布于 2014-09-04 09:52:34
我刚刚成功地安装了odbc驱动程序。这里的主要问题似乎是您没有包含"pro“目标文件。
以下是所有步骤:
我希望它会有用。致以敬意,
https://stackoverflow.com/questions/24280350
复制相似问题