[Interest] KDE's qqc2-desktop-style

2018-03-06 Thread Jason H
https://api.kde.org/frameworks/qqc2-desktop-style/html/index.html So this combines QStyle with QML, so QML can be more widget like. Can this be a part of Qt? ___ Interest mailing list Interest@qt-project.org

[Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread René J . V . Bertin
Hi, I've wondered before and the question came up in a discussion: why do Qt applications not show the window menu that native applications usually have? Design decision or is there a technical reason? Thanks, R. ___ Interest mailing list

Re: [Interest] Slot exception being thrown on exit

2018-03-06 Thread Jason H
1. reimplement QApplication::notify() and catch all exceptions there 2. Set a break point  there., examine call stack   Sent: Tuesday, March 06, 2018 at 12:30 PM From: "Ramakanth Kesireddy" To: interest@qt-project.org Subject: [Interest] Slot exception being thrown on

Re: [Interest] Slot exception being thrown on exit

2018-03-06 Thread Thiago Macieira
On Tuesday, 6 March 2018 09:30:21 PST Ramakanth Kesireddy wrote: > Please let me know if there is any way to find out the slot or eventhandler > throwing exception > other than running the app in debug mode with backtrace? Run in the debugger and ask it to stop in any C++ exception thrown (gdb

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Does anyone knows which modules we need to have compiled in order to make svg support work? I depend on a static build of Qt and while I was able to use SVG with the prebuilt Qt, I couldn’t make use of it using my static build. I realised I was missing qtsvg module but even after including it

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Worked like charm! Thanks for your prompt reply. Best! Nuno > On 6 Mar 2018, at 23:35, Giuseppe D'Angelo wrote: > > Il 07/03/2018 00:16, Nuno Santos ha scritto: >> Does anyone knows which modules we need to have compiled in order to make >> svg support work? >> I

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread Hamish Moffatt
On 07/03/18 10:52, René J. V. Bertin wrote: Nikos Chantziaras wrote: Shows up fine here. Unless I'm misunderstanding something. Indeed, the Assistant and QtCreator have the menu. But take a random 3rd party Qt application (say, QupZilla, or Otter Browser) or just about any KF5 application

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Giuseppe D'Angelo
Il 07/03/2018 00:16, Nuno Santos ha scritto: Does anyone knows which modules we need to have compiled in order to make svg support work? I depend on a static build of Qt and while I was able to use SVG with the prebuilt Qt, I couldn’t make use of it using my static build. I realised I was

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread Nikos Chantziaras
On 06/03/18 22:31, René J.V. Bertin wrote: I've wondered before and the question came up in a discussion: why do Qt applications not show the window menu that native applications usually have? Design decision or is there a technical reason? Shows up fine here. Unless I'm misunderstanding

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread René J . V . Bertin
Nikos Chantziaras wrote: > Shows up fine here. Unless I'm misunderstanding something. Indeed, the Assistant and QtCreator have the menu. But take a random 3rd party Qt application (say, QupZilla, or Otter Browser) or just about any KF5 application and it will likely not be so lucky. Qt

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread Nikos Chantziaras
On 07/03/18 01:52, René J. V. Bertin wrote: Nikos Chantziaras wrote: Shows up fine here. Unless I'm misunderstanding something. Indeed, the Assistant and QtCreator have the menu. But take a random 3rd party Qt application (say, QupZilla, or Otter Browser) or just about any KF5 application and

Re: [Interest] Qt/Mac : what about a (the) Window menu?

2018-03-06 Thread Mitch Curtis
> -Original Message- > From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] > On Behalf Of Nikos Chantziaras > Sent: Wednesday, 7 March 2018 2:53 AM > To: interest@qt-project.org > Subject: Re: [Interest] Qt/Mac : what about a (the) Window menu? > > On 07/03/18

[Interest] Slot exception being thrown on exit

2018-03-06 Thread Ramakanth Kesireddy
Hi, When Qt application is being exited, it throws below error:- Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. Please let me know if there is

[Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Hi, I have a simple question. How to render small Images decently on non retina displays with QtQuick? In my apps, I use images for icons and logos. They are all big enough to be displayed correctly. However, on non Retina displays they get really bad! And on retine display they appear

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Jason H
Maybe this has something to do with with mipMapping/smooth? It looks like it's not anti-aliasing?   Sent: Tuesday, March 06, 2018 at 10:50 AM From: "Nuno Santos" To: "Mitch Curtis" Cc: "Qt Project MailingList" Subject: 

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Mitch Curtis
Can you elaborate on "really bad", and also share a screenshot? From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org] On Behalf Of Nuno Santos Sent: Tuesday, 6 March 2018 4:27 PM To: Qt Project MailingList Subject: [Interest] How to render small

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread ekke
I'm using QtQuickControls2 and Qt::AA_EnableHighDpiScaling and so all my images are deployed with my app in different solutions per ex a 24x24px Icon test.png (24x24) -- for 160 dpi -- t...@2x.png (48x48) t...@3x.png (72x72) t...@4x.png (96x96) and so for all devices with all kind of dpi by

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Mitch, Thanks for your reply. You are right. I’m not playing all the cards… Original image attached (it is white over transparent so you will not see it in the email body. The file is called isotope.png) The item who renders this is the following: import QtQuick 2.4 Item { id: root

Re: [Interest] Command used by Qt Creator to deploy Apps to iOS devices

2018-03-06 Thread Jeffrey Brendecke
> On 5. Mar 2018, at 15:26, Jeffrey Brendecke > wrote: > > Which command is used by Qt Creator to deploy apps to iOS devices? > > The build logs show everything up through building and signing, but the > output goes silent during the deploy phase. -- I

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Allan Sandfeld Jensen
On Dienstag, 6. März 2018 16:50:23 CET Nuno Santos wrote: > Mitch, > > Thanks for your reply. > > You are right. I’m not playing all the cards… > > Original image attached (it is white over transparent so you will not see it > in the email body. The file is called isotope.png) > Looks like you

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
The anti-aliasing only works on edges except for the Super Sampling AA. 2018-03-06 17:49 GMT+01:00 Nuno Santos : > Allan, > > I have tried to enable antialiasing to true but it didn’t made any > difference > > :( > > > On 6 Mar 2018, at 16:47, Allan Sandfeld Jensen

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Xavier, SVG did the trick I just had to add it to resources and pass it to the image element. Looking great now!! :) Thank you all for your help Best, Nuno > On 6 Mar 2018, at 16:50, Xavier Bigand wrote: > > I think that you just have to link the svg

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
Hi, If your sample picture is relevant I can suggest you to convert it as SVG (vectoring it) or using distance field technique. 2018-03-06 17:06 GMT+01:00 Jason H : > Maybe this has something to do with with mipMapping/smooth? It looks like > it's not anti-aliasing? > > *Sent:*

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
I have never used SVG in QtQuick. What can be used to render SVG’s in QtQuick? > On 6 Mar 2018, at 16:45, Xavier Bigand wrote: > > Hi, > > If your sample picture is relevant I can suggest you to convert it as SVG > (vectoring it) or using distance field technique.

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Allan Sandfeld Jensen
On Dienstag, 6. März 2018 17:44:19 CET Allan Sandfeld Jensen wrote: > On Dienstag, 6. März 2018 16:50:23 CET Nuno Santos wrote: > > Mitch, > > > > Thanks for your reply. > > > > You are right. I’m not playing all the cards… > > > > Original image attached (it is white over transparent so you

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
I think that you just have to link the svg module, if I remember correctly, then in QML just use it as source of an Image item. The only think is that you have to fix the size of the item as the sourceSize have no sense here. 2018-03-06 17:47 GMT+01:00 Nuno Santos : > I

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Nuno Santos
Allan, I have tried to enable antialiasing to true but it didn’t made any difference :( > On 6 Mar 2018, at 16:47, Allan Sandfeld Jensen wrote: > > On Dienstag, 6. März 2018 17:44:19 CET Allan Sandfeld Jensen wrote: >> On Dienstag, 6. März 2018 16:50:23 CET Nuno Santos