Re: [Interest] Wrapping a .qml file into a Qt plugin?

2013-10-31 Thread Guido Seifert
I take everything back. The stupid Linux problem bit me that I cannot have two identical named .qrc files. All problems solved. :-) Guido On Fri, 1 Nov 2013 02:59:31 +0100 Guido Seifert wrote: > On Thu, 31 Oct 2013 09:33:42 -0700 > Alan Alpert <4163654...@gmail.com> wrote: > > > Add the qml

Re: [Interest] Wrapping a .qml file into a Qt plugin?

2013-10-31 Thread Guido Seifert
On Thu, 31 Oct 2013 09:33:42 -0700 Alan Alpert <4163654...@gmail.com> wrote: > Add the qml files as a resource, then use > https://qt-project.org/doc/qt-5.1/qtqml/qqmlengine.html#qmlRegisterType-3 > to register them into the plugin's module. Does not seem to work. At least not as easy as I hoped

Re: [Interest] [ANN] ODB C++ ORM 2.2.0 released, adds support for Qt5

2013-10-31 Thread Soroush Rabiei
On Wed, Oct 30, 2013 at 3:22 PM, Boris Kolpackov wrote: > > The .rpm packages are almost ready and in the official repository. > So this is nice. As for .deb packages, sadly there aren't any. Also, > as a Debian user myself, I am kind of sad to see RH getting packages > before Debian. > > So yes,

Re: [Interest] Wrapping a .qml file into a Qt plugin?

2013-10-31 Thread Alan Alpert
Add the qml files as a resource, then use https://qt-project.org/doc/qt-5.1/qtqml/qqmlengine.html#qmlRegisterType-3 to register them into the plugin's module. -- Alan Alpert On Thu, Oct 31, 2013 at 9:30 AM, Guido Seifert wrote: > Hi, > following problem: > I'd like to wrap a .qml file into a .dl

[Interest] Wrapping a .qml file into a Qt plugin?

2013-10-31 Thread Guido Seifert
Hi, following problem: I'd like to wrap a .qml file into a .dll file. This qml file should then be used as component in another qml program. Is this possible? If yes, a hint how this could be done? What I want to do is to have a folder, where I can drop my qml containing dlls. The dlls should be l

Re: [Interest] Qt 5.1.1 SQLite blocks database

2013-10-31 Thread Martin Kropfinger
Am Wed, 30 Oct 2013 23:07:24 +0400 schrieb Constantin Makshin : > Are you sure the problem is caused by changes in Qt and not SQLite? > Comparing "src/sql/drivers/sqlite/qsql_sqlite.cpp" on Gitorious shows > that the QSQLiteDriver::open() method is pretty much the same in Qt4.8 > and Qt5 — in Qt5

Re: [Interest] CSS class only works in designer, not during runtime

2013-10-31 Thread Philipp Kursawe
And here is an application wide version of this: bool YourApp::eventFilter(QObject* object, QEvent* event) { if (event->type() == QEvent::DynamicPropertyChange) { auto changeEvent = static_cast(event); if (changeEvent->propertyName() == "class") { if (auto widget = qobject_cast(ob

Re: [Interest] CSS class only works in designer, not during runtime

2013-10-31 Thread Philipp Kursawe
Well, it seems these 3 lines solve the issue: widget->style()->unpolish(widget); widget->style()->polish(widget); widget->update(); However this should be handled by the QWidget internally, when it knows that a dynamic property is used in a style. On Thu, Oct 31, 2013 at 3:18 PM, Philipp Kursaw

Re: [Interest] [ANN] ODB C++ ORM 2.3.0 released, adds schema evolution support

2013-10-31 Thread Boris Kolpackov
Hi Bob, Bob Hood writes: > Just to kick the hornets' nest: Yes, indeed. I also don't think Qt folks are particularly interested in this debate. So I am going to reply to the list once. If you want to continue this thread, please reply off-list (I will after this reply). > [...] the Court of A

[Interest] CSS class only works in designer, not during runtime

2013-10-31 Thread Philipp Kursawe
I want to style my QLineEdit in case of an error like this: QLineEdit.error { border: 2px solid orange; } I have set this style on the QLE parent widget. When I add the dynamic "class" property in the designer and set it to "error" the QLE gets a nice thick orange border. However if I do the same

Re: [Interest] [ANN] ODB C++ ORM 2.3.0 released, adds schema evolution support

2013-10-31 Thread Bob Hood
On 10/30/2013 5:36 AM, Boris Kolpackov wrote: > I am pleased to announce the release of ODB 2.3.0. Just to kick the hornets' nest: "By linking with the ODB runtime libraries (directly or indirectly, statically or _dynamically_...your application is subject to the terms of the GPL and/or NCUEL whi