View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#5
Originally Posted by newpyguy View Post
from PyQt4 import QtDeclarative

Thats correct, isnt it ? I get "ImportError: cannot import name QtDeclarative"
Nope, you have to use PySide:
Code:
from PySide import QtDeclarative
Also make sure you the python-pyside package installed - it should bring in all PySide modules and dependencies.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)