Images disappearing when using translucent OpenGL background
Hi there, I’m working on a little project where I want to display some sort of slideshow on a translucent background. First it was a pain to find out how to get the background of the window...
View ArticleQML listmodel - search/sort, any helpful documentation?
I need users to be able to go to an entry in a list using the keyboard – have very long lists so it will help with choosing what they want. Is this something made easier in Qt 5.1? (I am using Qt 5)
View ArticleQt Desktop Components rendering issues in Windows 7
Awesome! I started looking at the QStyleItem implementation but was not exactly sure what to look for. I modified the QStyleItem::paint implementation for the troubled components (CheckBox,...
View Articleintagrating SQLite with Qt Quick
I’m trying to include a SQLite database with QT Quick but I can’t find any examples. Does anyone know of any example programs I can play with?
View ArticleopenGL (QGLWindow) functionality in QDeclarativeView
Does no crash on Sailfish, but QGLWindow stays black… Possibly a openGL issue with the simulator. And had to comment out: #ifdef HAS_BOOSTER view = MDeclarativeCache::qDeclarativeView(); #else… because...
View Article[solved] Relative URL when creating a reusable QML PageLoader component
Okay, “Qt.resolvedUrl()” … pretty simple :) All that time reading about import paths and it was right here all along http://qt-project.org/doc/qt-5.0/qtqml/qml-url.html
View Article[Solved] Error using states to change between pages
Hi oosavu You are right I’m overcomplicating things. Using: onGameclick: root.state = "game" and in main.qml: PagePanel { id: pagepanel...
View ArticleLoad shared library with QML files in resource file
Hi, I have the following use-case: I want to protect the QML code of a dynamic library and thus add the QML files to a qrc file. The library is created by compiling the resource file into the library...
View ArticleQML designer is very slow
My machine is MacBookPro retina 15”. When I switch to designer on QML file, QT Creator hangs out. How to avoid this problem? Thanks!
View ArticleQML designer is very slow
Typing instead of using the designer (and the messy code it generates) should work :)
View ArticleReturning a QList to Qml ???
I have a Q_INVOKABLE method that returns a QList<QHash<QString, QString> > when called from Qml, however when I run the code it throws “Error: Unknown method return type:...
View ArticleHow to use the javascript in QML
http://tenxer.github.io/xcharts/examples/ How to use the javascrip in .qml
View ArticleReturning a QList to Qml ???
Thank you, it works wonderfully! QVariantList with QVariantMap is exactly what I was looking for :D I just wish I could mark a question as answered, and vote up answers and stuff…
View ArticleLoad shared library with QML files in resource file
I found out, that putting a DynamicallyLoadedTestItem into the main.qml file did work! But only if the import of the plugin is added in the main.qml, otherwise the same error with type not being found...
View ArticleThe problem with exception handle in QML 2 plugin
Hi everyone! I have the QML 2 plugin with method which crashed. I try to add the try..catch block for method but the catch section not called when method generating exception this is how to look my...
View Articleintagrating SQLite with Qt Quick
There is example in yourInstall\Qt5.0.2\5.0.2\mingw47_32\examples\declarative\sqllocalstorage
View ArticleBypassing binding loops
I’ve got a timeline UI where basically each element is positioned based on some model data. For instance the x coordinate is based on the seconds and the width is based on the duration of the element....
View ArticleOpenGL 3.2+ and Qt Quick2
It works fine with the default one, I’ll get a cleared red screen with my QML gui on top. I saw the part of the talk you linked where he inherits QQuickView and sets the surface format to a gl 3.3....
View ArticleWhat is .qmlproject file?
Hi All, Could you, please, explain me what is the .qmlproject file? I see that many QtQuick Controls tutorials contain both .pro and .qmlproject files, and some of the tutorials contain only...
View Article