tag:blogger.com,1999:blog-8657487033851500757.post2634892068609138329..comments2023-03-02T10:24:11.568+02:00Comments on Век живи - век учись: Ubuntu и PyQt4 + python3Unknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-8657487033851500757.post-78048883763500877522018-02-03T17:25:52.034+02:002018-02-03T17:25:52.034+02:00скачиваем, распаковываем, подготавливаем к сборке
...скачиваем, распаковываем, подготавливаем к сборке<br /><br />python3 configure.py<br /><br />Прошло успешно. а make не пошёл. Не скажете почему?(Anonymoushttps://www.blogger.com/profile/13623758059337012768noreply@blogger.comtag:blogger.com,1999:blog-8657487033851500757.post-28640123001868099362011-06-28T18:01:32.408+03:002011-06-28T18:01:32.408+03:00Determining the layout of your Qt installation...
...Determining the layout of your Qt installation...<br />/usr/bin/qmake -o qtdirs.mk qtdirs.pro<br />make -f qtdirs.mk<br />g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -o qtdirs.o qtdirs.cpp<br />qtdirs.cpp:1:17: error: QFile: Нет такого файла или каталога<br />qtdirs.cpp:2:24: error: QLibraryInfo: Нет такого файла или каталога<br />qtdirs.cpp:3:23: error: QTextStream: Нет такого файла или каталога<br />qtdirs.cpp: In function ‘int main(int, char**)’:<br />qtdirs.cpp:7: error: ‘QFile’ was not declared in this scope<br />qtdirs.cpp:7: error: expected ‘;’ before ‘outf’<br />qtdirs.cpp:9: error: ‘outf’ was not declared in this scope<br />qtdirs.cpp:9: error: ‘QIODevice’ has not been declared<br />qtdirs.cpp:9: error: ‘QIODevice’ has not been declared<br />qtdirs.cpp:9: error: ‘QIODevice’ has not been declared<br />qtdirs.cpp:12: error: ‘QTextStream’ was not declared in this scope<br />qtdirs.cpp:12: error: expected ‘;’ before ‘out’<br />qtdirs.cpp:14: error: ‘out’ was not declared in this scope<br />qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:14: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:15: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:16: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:17: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:18: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:19: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:21: error: ‘QT_VERSION’ was not declared in this scope<br />qtdirs.cpp:22: error: ‘QT_EDITION’ was not declared in this scope<br />qtdirs.cpp:24: error: ‘QLibraryInfo’ has not been declared<br />qtdirs.cpp:90: error: ‘qreal’ was not declared in this scope<br />make: *** [qtdirs.o] Ошибка 1<br />Error: Failed to determine the layout of your Qt installation. Try again using<br />the --verbose flag to see more detail about the problem.<br /><br />в чем проблемаdanacondahttps://www.blogger.com/profile/02551077346010730986noreply@blogger.comtag:blogger.com,1999:blog-8657487033851500757.post-77395293848186545952011-01-16T08:53:00.915+02:002011-01-16T08:53:00.915+02:00Хм, libxext-dev у меня был установлен автоматическ...Хм, libxext-dev у меня был установлен автоматически в системе, видимо поставился с др.проектом, а вот libqt4-gui - ставился в ручную.<br />Спасибо за дополнение.Вячеславhttps://www.blogger.com/profile/18394043507566134280noreply@blogger.comtag:blogger.com,1999:blog-8657487033851500757.post-26049850269533140252011-01-16T04:44:45.105+02:002011-01-16T04:44:45.105+02:00В пункт 1 необходимо добавить:
- libxext-dev (у ме...В пункт 1 необходимо добавить:<br />- libxext-dev (у меня не хватало для успешной сборки);<br />- libqt4-gui (для QtGui.so).Anonymousnoreply@blogger.com