- Code: Select all
Error info: Fatal: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Sigil version: 0.9.16
Runtime Qt: 5.12.6
Compiled Qt: 5.12.2
Platform: Linux
The Sigil developers and I have tracked down the problem and have a workaround to get Sigil to run. The thread on the Sigil forum can be found here:
https://www.mobileread.com/forums/showthread.php?t=328605
The workaround is to edit the Sigil startup script, /usr/bin/sigil and fix an environment variable that is pointing to an incorrect Qt library location.
The Sigil cmake calls qmake to configure the makefiles for Sigil. Sigil uses a startup script called /usr/bin/sigil which sets an environment variable, QTLIB_DIR="/usr/lib64" which is incorrect. The correct location for the active Qt is /usr/lib64/qt5. Hence Sigil cannot find QT. The error is made in the call to qmake
- Code: Select all
$ qmake -query QT_INSTALL_LIBS
/usr/lib64
While we have tracked down the cause of this crash, I do not want to mark this problem solved yet because the underlying cause of the crash might have a wider impact.
The incorrect reporting of qmake of the location of the Qt library may impact other builds as well. That is why I do not want to mark this solved yet, just because we have fixed it for Sigil.
Could someone please install Sigil and attempt to run it to confirm that the problem exists on platforms other than mine?
If that is the case, I will post a bug on bugzilla to see if the package manager can rebuild Sigil to correct the problem, or maybe boost the problem upstream for Qt folks to fix.
My system info:
- Code: Select all
$ inxi -b
System: Host: BSKMageia Kernel: 5.5.15-desktop-3.mga7 x86_64 bits: 64 Desktop: KDE Plasma 5.15.4
Distro: Mageia 7 mga7
Machine: Type: Desktop Mobo: ASUSTeK model: P5G41T-M LX PLUS v: Rev X.0x serial: <root required>
BIOS: American Megatrends v: 0502 date: 10/21/2011
CPU: Dual Core: Intel Core2 Duo E7300 type: MCP speed: 2545 MHz
Graphics: Device-1: NVIDIA G94 [GeForce 9600 GT] driver: nvidia v: 340.108
Display: x11 server: Mageia X.org 1.20.7 driver: nvidia,v4l resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce 9600 GT/PCIe/SSE2 v: 3.3.0 NVIDIA 340.108
Thanks,
Banjo
(_)=='=~