I have an UPdated install of CLDX 13.6.xx
I do some Qt developing in Python and C**. My tools are either QtCreator and/or Spyder, Ninja-IDE.
The latter two are Python IDEs with which I use Pyside kit to develop code for Qt.
With new installs of Ninja-IDE & Spyder IDE when running Pyside code I was seeing…
QGtkStyle was unable to detect the current GTK+ theme
I was able to correct this problem by installing libgnomeui-2.24.5.
And all is well again… No Errors.
Just for your own Testing in Python I was running this code
Requires => Python 2.7.5 & Pyside
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from PySide.QtCore import *
from PySide.QtGui import *
import sys
class MyMainWindow(QWidget):
def __init__(self):
QWidget.__init__(self, None)
vbox = QVBoxLayout()
b = QPushButton("Push me!")
vbox.addWidget(b)
self.connect(b, SIGNAL("clicked()"), self.buttonPushed)
self.setLayout(vbox)
def buttonPushed(self):
d = QDialog(self)
vbox = QVBoxLayout()
l = QLabel("Hi there. You clicked a button!")
vbox.addWidget(l)
b = QPushButton("Close window")
self.connect(b, SIGNAL("clicked()"), d.close)
vbox.addWidget(b)
d.setLayout(vbox)
d.show()
if __name__ == '__main__':
app = QApplication(sys.argv)
w = MyMainWindow()
w.show()
app.exec_()
sys.exit()