OK, this is solved.

After digging deep in the Qt sources debugging, this solved the problem for
me:

export
QT_QPA_PLATFORM_PLUGIN_PATH=/build/opt/qt-5.5.1-debug/plugins/platforms

I do not understand, though, why this path is not found automatically.

Anyway, I hope this helps for someone.

Miklos


On 15 January 2016 at 16:46, Miklos Espak <m.es...@ucl.ac.uk> wrote:

> Hi,
>
> I am trying to build a recent commit from master with Qt 5.5.1 on linux.
> Is that supposed to work?
>
> The build fails because qhelpgenerator crashes when generating the help
> files for a BlueBerry plugin.
>
> Anybody seen this?
>
> [ 85%] Generating resources/org_blueberry_ui_qt_log.qch
> /build/src/niftymidas-qt5-debug/MITK/src/Plugins/org.blueberry.ui.qt.log/documentation/UserManual/blueberrylogview.dox:14:
> warning: unable to resolve reference to `LoggingPage' for \ref command
> This application failed to start because it could not find or load the Qt
> platform plugin "minimal".
>
> Reinstalling the application may fix this problem.
> /bin/sh: line 1: 22448 Aborted                 (core dumped)
> /build/opt/qt-5.5.1-debug/bin/qhelpgenerator
> /build/src/niftymidas-qt5-debug/MITK/build/MITK-build/Plugins/org.blueberry.ui.qt.log/documentation/UserManual/html/org_blueberry_ui_qt_log.qhp
> -o
> /build/src/niftymidas-qt5-debug/MITK/build/MITK-build/Plugins/org.blueberry.ui.qt.log/resources/org_blueberry_ui_qt_log.qch
> make[2]: ***
> [Plugins/org.blueberry.ui.qt.log/resources/org_blueberry_ui_qt_log.qch]
> Error 134
> make[1]: ***
> [Plugins/org.blueberry.ui.qt.log/CMakeFiles/org_blueberry_ui_qt_log.dir/all]
> Error 2
> make: *** [all] Error 2
>
>
> Stack trace:
>
> #0  0x00007f659e5e6625 in raise () from /lib64/libc.so.6
> #1  0x00007f659e5e7e05 in abort () from /lib64/libc.so.6
> #2  0x00007f659f6e3ef0 in qt_message_fatal (context=..., message=...) at
> /build/src/qt-5.5.1/qtbase/src/corelib/global/qlogging.cpp:1578
> #3  0x00007f659f6e063c in QMessageLogger::fatal (this=0x7fffc575da10,
> msg=0x7f65a038ddda "%s") at
> /build/src/qt-5.5.1/qtbase/src/corelib/global/qlogging.cpp:781
> #4  0x00007f659ff4fcf9 in init_platform (pluginArgument=...,
> platformPluginPath=..., platformThemeName=..., argc=@0x7fffc575dd4c: 4,
> argv=0x7fffc575e388)
>     at /build/src/qt-5.5.1/qtbase/src/gui/kernel/qguiapplication.cpp:1038
> #5  0x00007f659ff50cd4 in
> QGuiApplicationPrivate::createPlatformIntegration (this=0x1551740) at
> /build/src/qt-5.5.1/qtbase/src/gui/kernel/qguiapplication.cpp:1176
> #6  0x00007f659ff50e3d in QGuiApplicationPrivate::createEventDispatcher
> (this=0x1551740) at
> /build/src/qt-5.5.1/qtbase/src/gui/kernel/qguiapplication.cpp:1193
> #7  0x00007f659f91f33d in QCoreApplication::init (this=0x7fffc575de30) at
> /build/src/qt-5.5.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:768
> #8  0x00007f659f91f093 in QCoreApplication::QCoreApplication
> (this=0x7fffc575de30, p=...) at
> /build/src/qt-5.5.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:689
> #9  0x00007f659ff4e7cf in QGuiApplication::QGuiApplication
> (this=0x7fffc575de30, argc=@0x7fffc575dd4c: 4, argv=0x7fffc575e388,
> flags=328961)
>     at /build/src/qt-5.5.1/qtbase/src/gui/kernel/qguiapplication.cpp:558
> #10 0x000000000040294c in main (argc=4, argv=0x7fffc575e388) at
> /build/src/qt-5.5.1/qttools/src/assistant/qhelpgenerator/main.cpp:65
>
>
> Cheers,
> Miklos
>
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to