0
我試圖在ubuntu 13.10上安裝QtBC驅動程序以用於Qt 5.0.2。我遵循官方文檔(請參閱http://qt-project.org/doc/qt-5/sql-driver.html#qodbc),但我堅持其中一個步驟。當我嘗試做安裝用於linux的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'.