Re: [Interest] QSqlQueryModel refresh

2012-03-02 Thread Thales Lange
Jason, I don't realize another way to update the QSqlQueryModel after you change the Table data. You will have to call "setQuery(...)" again. If you are facing performance problems, you can try to limit your query ("SELECT ... LIMIT 100"). Eventually, if you have a complex SQL statement, you can

Re: [Interest] QSqlQueryModel refresh

2012-03-02 Thread Thales Lange
Jason, I don't realize another way to update the QSqlQueryModel after you change the Table data. You will have to call "setQuery(...)" again. If you are facing performance problems, you can try to limit your query ("SELECT ... LIMIT 100"). Eventually, if you have a complex SQL statement, you can

[Interest] QSqlQueryModel refresh

2012-03-02 Thread Jason H
How after I have reimplmented setData() to make my model writable, do I refresh my view? I could drop the whole model and reload it, but that is expensive.___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/inte

Re: [Interest] more QSharedPointerQuestions

2012-03-02 Thread Bo Thorsen
Den 02-03-2012 14:07, Jason H skrev: > You raise some good points. In truth, I was told to use QSharedPointer, > but I had some of the same points you did. His intention (as I > understand it) was to use QSharedPointer to stop accidental deletes. I know some will disagree with this, but anyway...

Re: [Interest] MS RTF

2012-03-02 Thread Lucas.Betschart
Thank you both for the hints. I looked at RTF-Qt. It seems that there is no documentation for it, but it might have everything I need. Calligra also uses RTF-Qt. I will try it with that. -Ursprüngliche Nachricht- Von: Boudewijn Rempt [mailto:b...@valdyas.org] Gesendet: Freitag, 2. Mär

Re: [Interest] Problems with CMake and static Qt plugins

2012-03-02 Thread norulez
Thank you, I added ADD_DEFINITIONS(-DQT_STATICPLUGIN) but the result is the same (same error message) Best Regards Am 02.03.2012 um 14:58 schrieb Thiago Macieira : > On sexta-feira, 2 de março de 2012 13.48.03, NoRulez wrote: >> When I compile it I get the following error: >> In function `Sta

Re: [Interest] Problems with CMake and static Qt plugins

2012-03-02 Thread Thiago Macieira
On sexta-feira, 2 de março de 2012 13.48.03, NoRulez wrote: > When I compile it I get the following error: > In function `StaticLocalPluginInstance': undefined reference to > `qt_plugin_instance_Local()' > > Please, could anybody help me to get it working? I guess you forgot to define QT_STATICPLU

[Interest] Problems with CMake and static Qt plugins

2012-03-02 Thread NoRulez
Hello,I use Qt 4.8.0 from the QtSDK and I want to generate a static qt plugin.In my main.cpp I have the following:#include #include Q_IMPORT_PLUGIN(Local)int main(int argc, char* argv[]) {    QApplication app(argc, argv); ...     return app.exec();}The corresponding CMakeLists.txt for

[Interest] does "qt5/directfbegl" gfxdriver work with the qt-4.8.0?

2012-03-02 Thread haithem rahmani
Hi, I'm working on STMicroelectronics SoC that contains a mali400 GPU, the SoC contains also a HW blitter to do simple 2D ops. ST within its STLinux, provides the qt4.8.0 but only with the directfb based gfxdriver. I've read in the blog ( http://zecke.blogspot.com/2012/01/qtmediahub-on-mips-with

Re: [Interest] more QSharedPointerQuestions

2012-03-02 Thread Jason H
You raise some good points. In truth, I was told to use QSharedPointer, but I had some of the same points you did. His intention (as I understand it) was to use QSharedPointer to stop accidental deletes. From: André Pönitz To: Jason H Cc: "interest@qt-pro

Re: [Interest] MS RTF

2012-03-02 Thread Atlant Schmidt
Lucas: How "rich" does your Rich Text have to be? If your task is to write minimally-formatted text into a .RTF file, you might just want to write your own writer implementation from scratch. Microsoft provides pretty good documentation on the .RTF format and you can readily create ex

Re: [Interest] MS RTF

2012-03-02 Thread Boudewijn Rempt
On Fri, 2 Mar 2012, lucas.betsch...@crypto.ch wrote: > Hello > > I'm looking for a way to display & write MS RTF in a Qt Widget. > I already googled for that and it seems that there is no build in Qt Widget > that can handle this. > > I know HTML/XML would be better then MS RTF, but my tool has t

[Interest] MS RTF

2012-03-02 Thread Lucas.Betschart
Hello I'm looking for a way to display & write MS RTF in a Qt Widget. I already googled for that and it seems that there is no build in Qt Widget that can handle this. I know HTML/XML would be better then MS RTF, but my tool has to be compatible to an older program which is written in VS C++ an

Re: [Interest] Compiling Qt 4.8.0 on Windows 7 with NTFS folder mounts

2012-03-02 Thread Christian Quast
On Monday 16 January 2012 14:33:39 Joerg Bornemann wrote: > On 11/01/2012 23:14, ext Christian Quast wrote: > > I am trying to compile Qt 4.8.0 on Windows. > > My set-up is: > > - Windows 7 (64 bit) fully updated > > - mingw32 provided by Qt Creator 2.4.0 > > - install path c:\Development\Libraries