Reputation: 6213
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?
Upvotes: 1
Views: 1456
Reputation: 6213
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.
Upvotes: 0
Reputation: 53155
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 $
Upvotes: 1