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

2013-10-31 Thread Boris Kolpackov
Hi Chris, Christian Gagneraud chg...@gna.org writes: How does that compare to QDjango[1]? Why should I use ODB in a Qt project? There are too many dimensions in which you can compare ORMs to list in a single email. The best way is probably to get a list of high-level features for both options

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

[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 in

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

2013-10-31 Thread Boris Kolpackov
Hi Bob, Bob Hood bho...@comcast.net 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).

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 Kursawe

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_castQDynamicPropertyChangeEvent*(event); if (changeEvent-propertyName() == class) { if (auto

[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

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 cmaks...@gmail.com: 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

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 warg...@gmx.de wrote: Hi, following problem: I'd like to wrap a .qml

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 bo...@codesynthesis.comwrote: 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

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 it

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 warg...@gmx.de wrote: On Thu, 31 Oct 2013 09:33:42 -0700 Alan Alpert 4163654...@gmail.com wrote: Add