I've just tried this:
- running Qt Designer from QtJambi 4.5.2: icons and fonts are nice
(http://uploadpie.com/vuQaJ)
- running Qt Designer from Qt 4.6.3: icons and fonts are weird (no
shadow, aliasing, ...) (http://uploadpie.com/Ag5Ms)

So I suppose it comes from my build of Qt 4.6.3 code source. I ran
these lines to compile Qt:
cd $QTDIR
./configure -no-qt3support -release -shared -prefix $PWD
-no-sql-sqlite2 -no-mmx -no-3dnow -no-sse -no-sse2 -D QT_JAMBI_BUILD
make

V.

On Mon, May 31, 2010 at 8:53 PM, Vincent Lebreil
<[email protected]> wrote:
> On Mon, May 31, 2010 at 8:36 AM, Helge Fredriksen <[email protected]> wrote:
>> On 05/28/2010 08:25 PM, Vincent Lebreil wrote:
>>>
>>> @Samu: I made that image (48x48 png)
>>> @Helge: I had no time to create a small project. But I'll try to do it
>>> so you can reproduce it. If you can't wait, just create a QAction and
>>> add it to a QToolBar: here's a piece of code:
>>>         QToolBar toolBar = new QToolBar(mainWindow);
>>>         toolBar.setObjectName("toolBar");
>>>         toolBar.setIconSize(new QSize(48, 48));
>>>
>>> toolBar.setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle.ToolButtonTextUnderIcon);
>>>
>>> mainWindow.addToolBar(com.trolltech.qt.core.Qt.ToolBarArea.TopToolBarArea,
>>> toolBar);
>>>
>>>         actionOpen = new QAction(mainWindow);
>>>         actionOpen.setObjectName("actionOpen");
>>>         actionOpen.setIcon(new QIcon(new
>>> QPixmap("classpath:img/48x48/open.png")));
>>>         actionOpen.setShortcut("Ctrl+O");
>>>
>>>         toolBar.addAction(actionOpen);
>>>
>>> @all: I'm running on linux Kubuntu 10.04 64bits
>>> picture qt4.5 http://uploadpie.com/yDvYO: qtjambi for linux 64 from
>>> maven repository (packaged by Dusan)
>>> picture qt4.6 http://uploadpie.com/y58GG: qtjambi for linux 64 from
>>> git repository (built from master branch)
>>>
>>>
>>
>> Tested this code, and my icons looks just fine on a Ubuntu 32bit 10.04
>> setup. Cannot understand that it has something to do with 64bit though...
>>
>
> I don't have a Ubuntu 32bit but I do have a Windows 32bit, so I'll try
> 4.6.2-win32 package available from download pages to see what happens.
>
> BTW, does someone have a 4.6.2-linux64 he/she could share with me ? or
> put on download page?
>
>> Try making a sample in 4.6 C++ Qt code and see if you have the same problems
>> then. since you're running kubuntu, it may be some resolving issues with the
>> system paths to Qt libraries, just a wild guess...
>>
>
> I'll give a try. But it's weird because Kubuntu 10.04 is based on Qt
> 4.6.2. BTW, I notice that a new QStyle appears with 4.6: Oxygen, but
> even if I change style, icons are reduced/pixelised.
> But maybe something went wrong when compiling 4.6 code source ...
>
>> Helge F.
>>
>
> Thanks for your help.
>
> Vincent
>

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to