2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Debian(or Ubuntu)+nvidia+PyQt5+QtQuick2のエラー回避

Last updated at Posted at 2014-08-16

表題の条件でShaderのコンパイルエラーが発生し、QtQuick2が正しく動作しない場合の回避策。
以下のコードをスクリプトに追加。

import ctypes
ctypes.CDLL('libGL.so.1', ctypes.RTLD_GLOBAL)

参考
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826

どうやらnvidia提供のlibGL.so.1を読み込んでくれない不具合があるらしい。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?