Question

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?

Was it helpful?

Solution

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 $

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top