CaPTk
CaPTk copied to clipboard
[Linux] CaPTk builds with embedded qt but doesn't run. External Qt works
Describe the bug title
After make install/strip:
dimitris@dimitris-lab:~/Work/CaPTk/CaPTk-build/Debug/install$ bin/captk
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Aborted (core dumped)
dimitris@dimitris-lab:~/Work/CaPTk/CaPTk-build/Debug/install$ export QT_PLUGIN_PATH=/home/dimitris/Work/CaPTk/CaPTk-superbuild/Debug/qt/5.12.1/plugins
dimitris@dimitris-lab:~/Work/CaPTk/CaPTk-build/Debug/install$ bin/captk
Could not find QtWebEngineProcess
Aborted (core dumped)
dimitris@dimitris-lab:~/Work/CaPTk/CaPTk-build/Debug/install$ export QTWEBENGINEPROCESS_PATH=/home/dimitris/Work/CaPTk/CaPTk-superbuild/Debug/qt/5.12.1/libexec/QtWebEngineProcess
dimitris@dimitris-lab:~/Work/CaPTk/CaPTk-build/Debug/install$ bin/captk
Qt WebEngine ICU data not found at /home/gray/Qt/5.12.1/gcc_64/resources. Trying parent directory...
Qt WebEngine ICU data not found at /home/gray/Qt/5.12.1/gcc_64. Trying application directory...
Qt WebEngine ICU data not found at /home/dimitris/Work/CaPTk/CaPTk-build/Debug/install/bin. Trying fallback directory... The application MAY NOT work.
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/dimitris/.captk'
Installed Qt WebEngine locales directory not found at location /home/gray/Qt/5.12.1/gcc_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/dimitris/Work/CaPTk/CaPTk-build/Debug/install/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/dimitris/.captk'
[0117/135148.583959:ERROR:icu_util.cc(177)] Invalid file descriptor to ICU data received.
[0117/135148.584642:FATAL:content_main_delegate.cc(58)] Check failed: false.
#0 0x7ff8231e2a4f <unknown>
#1 0x7ff82315afdc <unknown>
#2 0x7ff823113fa6 <unknown>
#3 0x7ff8231157e2 <unknown>
#4 0x7ff82172521a <unknown>
#5 0x7ff82172690c <unknown>
#6 0x7ff82bdcf15e QWebEnginePagePrivate::QWebEnginePagePrivate()
#7 0x7ff82bdcfe54 QWebEnginePage::QWebEnginePage()
#8 0x7ff82bddd02b QWebEngineView::page()
#9 0x7ff82bddd0c9 QWebEngineView::load()
#10 0x5635d656d8f2 <unknown>
#11 0x5635d5dab2a9 <unknown>
#12 0x5635d5896d56 <unknown>
#13 0x7ff82836ab97 __libc_start_main
#14 0x5635d58d117a <unknown>
Aborted (core dumped)
To Reproduce Steps to reproduce the behavior:
- make
- make install/strip
- go to install dir
- bin/captk (it works only with external qt)
CaPTk Version 1.7.5
Desktop (please complete the following information):
- OS: Linux Mint 19.3, Ubuntu 18.04
@sarthakpati here you go. I will update with the actual output when it finishes building
@sarthakpati got the whole output. See 'Describe the bug' section
Were you trying to build the Debug version?
Were you trying to build the Debug version?
Yes
Were you trying to build the Debug version?
But this happens in release too
I tried this build on a Linux (Ubuntu 18.04) VM last night and it went off without a hitch. I'm guessing we need to have documentation on which Linux distros we have tested this pipeline on, since it is logistically not possible for us to support all distros out there.