Custom Query (301 matches)
Results (4 - 6 of 301)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#307 | invalid | qtconcurrentfilter.h generates -Wunused-local-typedefs warning when compiling with GCC 4.9.2 | ||
Description |
Compiling a Qt4 application with the current RPM/YUM GCC (4.9.2.1-3.oc00.i686) generates the following warning (often multiple times): g++ -c @CXXFLAGS.qe.rsp @DEFINES.qe.rsp @INCPATH.qe.rsp -o mainwindow.obj mainwindow.cpp In file included from e:\usr\include/QtCore/QtCore:124:0, from e:\usr\include\QtGui/QtGui:3, from mainwindow.cpp:23: e:\usr\include/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, T (C::*)(U))': e:\usr\include/QtCore/qtconcurrentfilter.h:109:47: warning: typedef 'Iterator' locally defined but not used [-Wunused-local-typedefs] typedef typename Sequence::const_iterator Iterator; ^ This is quite inconvenient as certain IDEs or code editors (including mine) flag this as a problem and pop up a message during build. |
|||
#306 | wontfix | PNG-format application icon renders badly | ||
Description |
It's common to use an image (e.g. from Qt resources) of an internally-supported format such as PNG for the frame icon. Indeed, this seems to be the only way to be able to access the image in other contexts within the application (see ticket #305). Unfortunately, it renders very badly in this case, with ugly scaling and broken alpha-blending. In theory, it should be possible to avoid scaling by providing an icon of the exact size. For example: QIcon icon; icon.addFile(":/images/editor.png", QSize( 40, 40 ), QIcon::Normal, QIcon::On ); icon.addFile(":/images/editor_mini.png", QSize( 20, 20 ), QIcon::Normal, QIcon::On ); icon.addFile(":/images/editor_vga.png", QSize( 32, 32 ), QIcon::Normal, QIcon::On ); icon.addFile(":/images/editor_vga_mini.png", QSize( 16, 16 ), QIcon::Normal, QIcon::On ); setWindowIcon( icon );
This works (and looks) fine when rendering the image in an explicit context inside the program, such as via However, when used as the application icon, either the wrong image size is being selected, or it's being re-scaled somehow (why or to what, I cannot tell). Screenshots to be attached. |
|||
#305 | wontfix | Application icon is unavailable in (e.g.) MessageBox::about() when ICO is used. | ||
Description |
QIcon apparently does not support the OS/2 Icon format. (This is not really surprising.) However, relying on an Icon resource in a .RC allows the application icon to use a proper OS/2 multi-image icon to be used, which is nice. Presumably this is because the OS handles the rendering and not Qt. However, doing it this way appears to mean that Qt cannot access the application icon for other purposes.
In particular: creating an 'about' dialog with I assume other contexts would also be unable to render the application icon. If support for OS/2 Icon cannot easily be added, perhaps the failure logic could be improved. |