Qt5, Coin3D и SoQt

Я пытаюсь работать с Qt5, SoQt (версия 1.5.0) и Coin3D (3.1.3). Я использовал инструкции, найденные на этот сайт установить Coin3D. Я также пытался установить SoQt (найдены инструкции Вот). Мне пришлось немного изменить эти команды экспорта:

export COINDIR="/usr/local/share"

Я пробовал четыре разные версии экспорта, включая, так как я не знаю о его назначении, и я не уверен, является ли это причиной ошибок, которые я получаю:

export INCLUDE="/usr/local/include:/usr/include/x86_64-linux-gnu/qt5/QtCore"export INCLUDE="/usr/local/include:/usr/include/x86_64-linux-gnu/qt5"export INCLUDE="/usr/include/x86_64-linux-gnu/qt5/QtCore"export INCLUDE="/usr/include/x86_64-linux-gnu/qt5"

Вот где появляются сообщения об ошибках: (краткая сводка ниже)

checking for QT4...
Could not gather the configure flags for Qt through pkg-config. Please
ensure that the qt pkg-config metadata .pc files, such as QtCore.pc,
exist on your system. In case the metadata .pc files are installed
into a non-default location verify that the PKG_CONFIG_PATH environment
variable points to the correct directory.

Further details in how to set the PKG_CONFIG_PATH environment variable
can be found in the pkg-config(1) man page.

checking whether the X11 miscellaneous utilities library is available... maybe
checking for cygpath... false
checking for moc... /usr/bin/moc
configure: WARNING: header file qglobal.h not found, can not compile Qtcode
configure: WARNING: QTDIR environment variable not set -- this might be an indication of a problem

Could not find any way to build against the Qt library. If you
are sure Qt is properly installed on your system, see the file
config.log to find out what went wrong.

One common way to solve this problem is to set up the environment
variable QTDIR to the base of the Qt installation directory. Or if it
was already set up, double check to see that it is pointing at the
correct directory.

Note that it is possible to override the combinations of Qt libraries
configure tries to link against by setting up the environment variable
CONFIG_QTLIBS. This might be necessary if you have installed the Qt
library in a manner that is not compatible with any of the known
configurations, for instance by changing the name of the library or
the Qt library having more dependencies on other libraries that we are
aware of.

If you for instance know the correct set of libraries to be qt304.lib,
qtmain.lib and gdi32.lib (this would be on an MSWindows system), then
set CONFIG_QTLIBS to the string ''-lqt304 -lqtmain -lgdi32'' before
re-running configure.

If you still can't get the configure script to detect the presence of
and how to use the Qt library, please mail the config.log file to
<coin-support@coin3d.org> and ask for help.

configure: error: aborting

Я могу ошибаться, но кажется, что он ищет Qt4, а не Qt5 из-за

checking for QT4...

Это также читает

configure: WARNING: header file qglobal.h not found, can not compile Qtcode

Вот почему я попытался использовать qt5 / QtCore вместо qt5 в качестве пути, потому что в QtCore есть файл qglobal.h, но он ничего не меняет.

Кто-нибудь еще сталкивался с подобными проблемами при настройке SoQt с Qt5 и может мне помочь?

Заранее спасибо!

1

Решение

Эти релизы очень старые (2012). Пожалуйста, получите последний источник Coin из CMake brach [1] и SoQt из [2]. Сборка с CMake. Также смотрите это обсуждение [3] относительно поддержки высокого DPI.

[1] https://bitbucket.org/Coin3D/coin/branch/CMake
[2] https://bitbucket.org/Coin3D/soqt/branch/default
[3] https://groups.google.com/forum/#!topic/coin3d-discuss/ipkSH08iFNk

1

Другие решения

Других решений пока нет …

По вопросам рекламы ammmcru@yandex.ru
Adblock
detector