Re: [Interest] Qt5 - Application compile error on overloaded qRound()

2012-08-31 Thread Constantin Makshin
IMHO, an attempt to round an integer indicates that something in the code is likely to be wrong. And explicit overloads will simply defer the bug from compile-time to run-time. Not a good idea... Anyway, rounding integers is not a [very] common task :-) so anyone who needs that for some reason can

Re: [Interest] Qt5 - Application compile error on overloaded qRound()

2012-08-31 Thread André Pönitz
On Fri, Aug 31, 2012 at 12:55:06PM +1000, Rohan McGovern wrote: > It doesn't seem like a Qt bug; rounding an integer doesn't make sense, > right? I'd actually think that (an) explicit no-op qRound overload(s) for int(eger types) would solve some of the problems here... Andre'

Re: [Interest] [Mingw-w64-public] Fwd: [Development] Choosing a new MinGW for Qt 5

2012-08-31 Thread K. Frank
Hello Jon! On Fri, Aug 31, 2012 at 12:34 PM, JonY wrote: > On 8/31/2012 23:46, K. Frank wrote: >> There is a memory-exhausted issue with building recent versions of Qt with >> recent versions of mingw-w64. I don't know whose "fault" it is -- my guess >> is that there is an inefficiency in mingw-

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Thiago Macieira
On sexta-feira, 31 de agosto de 2012 16.34.41, Alexander Carôt wrote: > ../../src/qtbrowserplugin.h: In member function ‘QStringList > QtNPClass::mimeTypes() const’: ../../src/qtbrowserplugin.h:114: error: > invalid use of incomplete type ‘struct QMetaClassInfo’ > /Library/Frameworks/QtCore.framewo

Re: [Interest] Images not loading under Linux

2012-08-31 Thread Bob Hood
I have verified that it is not plug-in related (I have a logo in an About window that comes from the same resources with the same image format, and it loads fine). As you've both pointed out, this must be an issue with the window manager (Ubuntu 12.04). I'll have a look at your link, Jordi, and m

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Alexander Carôt
Now I used a Carbon build and the errors disappear as expected. However, one of them remains: ../../src/qtbrowserplugin.h: In member function ‘QStringList QtNPClass::mimeTypes() const’: ../../src/qtbrowserplugin.h:114: error: invalid use of incomplete type ‘struct QMetaClassInfo’ /Library/Frame

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Alexander Carôt
Yepp -- I just figure that. I need to configure it for Carbon and then I expect it to work. Will get back once this is done. Best Alex Original-Nachricht > Datum: Fri, 31 Aug 2012 17:31:05 +0400 > Von: Konstantin Tokarev > An: "Alexander Carôt" > CC: "interest@qt-project.o

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Konstantin Tokarev
31.08.2012, 17:02, "Alexander Carôt" : > Update: > > I figured a problem in qtbrowserplugin_p.h > > #ifdef Q_WS_X11 > #   include >   class QtNPStream; >   class QtNPBindable; > #endif > > must be changed to > > #ifdef Q_WS_X11 > #   include > #endif > > class QtNPStream; > class QtNPBindable;

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Alexander Carôt
Update: I figured a problem in qtbrowserplugin_p.h #ifdef Q_WS_X11 # include class QtNPStream; class QtNPBindable; #endif must be changed to #ifdef Q_WS_X11 # include #endif class QtNPStream; class QtNPBindable; After this edit it does compile on Windows but on Mac I get anothe

Re: [Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, > Have a look at: > http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps > > Hope it helps Thanks. It helps. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtQuick 3D objects

2012-08-31 Thread Till Oliver Knoll
2012/8/31 Ramakanthreddy_Kesireddy : > ... > Please let me know what kind of supported formats possible like 3DS,png etc http://lmgtfy.com/?q=qt+quick+3d+format Cheers, Oliver P.S. "PNG" is NOT a 3D format (a "texture format" in the largest sense at best) ;) _

Re: [Interest] qtbrowserplugin

2012-08-31 Thread Alexander Carôt
... sorry, two corrections to my previous post: 1.) It is version 2.3 of the qtbrowserplugin 2.) on Win I am using the mingw-compiler, on OSX I am using gcc Thanks Alx Original-Nachricht > Datum: Fri, 31 Aug 2012 11:59:00 +0200 > Von: "Alexander Carôt" > An: interest@qt-p

Re: [Interest] Qmake and changes in the library

2012-08-31 Thread Samuel Gaist
Hi, Have a look at: http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps Hope it helps Samuel On 31 août 2012, at 11:46, Igor Mironchik wrote: > Hi, > > Is it possible to say in QMake projects that when changes appears in the > library then all targets, depended on th

[Interest] qtbrowserplugin

2012-08-31 Thread Alexander Carôt
Hi all, I have a qt app, which I want to distribute as a browser plugin. As a first step I loaded down qtbrowserplugin-2.4 and tried to compile the trivial-example. The problem is that on OSX and on Windows I get this error message: In file included from ../../src/qtbrowserplugin.cpp:28: ../..

[Interest] ItemModel persitantEditors and QSortFilterProxy

2012-08-31 Thread Daniel Price
I have a QAbstractItemModel-based tree view which uses persistentEditors exclusively (supplied by an attached styled item delegate). I intercept the expand and collapse signals in the QTreeView to call openPersistantEditor/closePersistantEditor and this works fines. I've added a QSortFilterProx

[Interest] Qmake and changes in the library

2012-08-31 Thread Igor Mironchik
Hi, Is it possible to say in QMake projects that when changes appears in the library then all targets, depended on that library, must rebuilded? Because at this time I see that when I change something in the library then recompilation occur only on that library, and all targets that links to t

Re: [Interest] Reading trees from QSettings

2012-08-31 Thread Sensei
On 8/30/12 8:22pm, BRM wrote: > [...] Forward thinking is usually very good in software as long as > one holds the reigns in tight so as not to over-engineer for things > that will never happen (like adding audio support to an image file). Thanks, you have been very thorough. Thanks again! __

Re: [Interest] Qt5 - Application compile error on overloaded qRound()

2012-08-31 Thread Syam Krishnan
On 08/31/2012 12:15 PM, Thiago Macieira wrote: > On sexta-feira, 31 de agosto de 2012 09.22.15, Syam Krishnan wrote: >> However, why does Qt have two versions when the document mentions only one? > Because I was lazy when I added the second overload and forgot to add the > documentation. He he.. :

[Interest] QtQuick 3D objects

2012-08-31 Thread Ramakanthreddy_Kesireddy
Hi, Please let me know what kind of supported formats possible like 3DS,png etc For developing 3D UI and animations using QtQuick 3D module in Qt5. Best Regards, Ramakanth DISCLAIMER: This email (including any attachments) is intended for the sole use of the in

Re: [Interest] Slow compiling on Mac

2012-08-31 Thread Bo Elmgreen
Hi, Currently I am using Xcode 3.2.6 on MacOS 10.6.8, but in Xcode's preferences it says that it is using clang as tool chain. I haven't set up the machine, so I don't know if there has been tinkered with the default installation, but I don't think so. When I find a moment, I will try to build cl

Re: [Interest] Images not loading under Linux

2012-08-31 Thread Jordi Pujol
As nikos said, if you are using gnome take a look at this https://jeremy.visser.name/2009/09/how-to-fix-menu-icons-in-gnome-2-28/ I've had the same problem and it's a configurable option... Jordi El 30/08/2012 23:56, "Bob Hood" escribió: > I have a small project that has a number of PNG images

Re: [Interest] Slow compiling on Mac

2012-08-31 Thread Konstantin Tokarev
31.08.2012, 05:38, "Yang Fan" : > I always build the clang from its SVN trunk on my 10.6.7, the generated clang > tool set could compile Qt 4.8.2 with some small patches which can  be found > by Google. I'd recommended you to use git mirror instead of svn, because git pull it's _much_ faster t

Re: [Interest] Images not loading under Linux

2012-08-31 Thread Nikos Chantziaras
On 31/08/12 10:11, Nikos Chantziaras wrote: > Some Linux desktops do now allow menus to have images. "Do *not* allow". Typo. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Images not loading under Linux

2012-08-31 Thread Nikos Chantziaras
Some Linux desktops do now allow menus to have images. Like Gnome, for example. KDE on the other hand does not disallow this, so images there will show up. In general, Qt will only display menu icons on platforms that allow it. Note that there is a reason why some platforms do this; it's no