I trying to build psql driver but have some unexpected messages.

maxim@maxim-VirtualBox:~/Downloads/distrib/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/sqldrivers/psql$ qmake psql.pro

Cannot read /home/maxim/Downloads/qt-everywhere-opensource-src-5.2.1/qtbase/mkspecs/modules-inst/qt_lib_bootstrap_private.pri: No such file or directory

...

Cannot read /home/maxim/Downloads/qt-everywhere-opensource-src-5.2.1/qtbase/mkspecs/modules-inst/qt_lib_xml_private.pri: No such file or directory

But all of these files exist. What is the problem?

有帮助吗?

解决方案

The problem seems to be that you have "modules-inst" as the subfolder name, whereas it is only "modules" without the "-inst" suffix in reality.

See how it works fine on my end:

lpapp ~/Downloads/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/sqldrivers/psql $ qmake psql.pro

lpapp ~/Downloads/qt-everywhere-opensource-src-5.2.1/qtbase/src/plugins/sqldrivers/psql $

其他提示

I found a problem. After install qt-libraries I created new folder 'distrib' and move sources in there. That's why I got this problem. I should have checked the existence of the directory by cd command.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top