Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Thiago Macieira
On Monday, 11 May 2020 09:00:56 PDT Ramakanth Kesireddy wrote: > Yes I want to set Wayland as the default QPA backend. > > Well, I didn't set any QPA while configuring Qt and it selected LinuxFB as > the default. > > Do we need to set QT_QPA_platform explicitly? Before we talk about changing

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-05-11 Thread Tuukka Turunen
Hi, This clarification is related to independent open-source software. For example an independent open-source application containing Qt like https://wiki.wireshark.org/Development/QtShark or independent open-source library created using Qt such as https://inqlude.org/libraries/vlc-qt.html. If

Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Sérgio Martins via Interest
On 2020-05-11 17:00, Ramakanth Kesireddy wrote: Yes I want to set Wayland as the default QPA backend. qtbase $ ./configure --help | grep qpa -qpa .. Select default QPA backend(s) (e.g., xcb, cocoa, windows) Well, I didn't set any QPA while configuring Qt and it selected LinuxFB

Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Ramakanth Kesireddy
Yes I want to set Wayland as the default QPA backend. Well, I didn't set any QPA while configuring Qt and it selected LinuxFB as the default. Do we need to set QT_QPA_platform explicitly? Best Regards, Ramakanth On Mon, 11 May, 2020, 20:50 Thiago Macieria wrote: > On Monday, 11 May 2020

Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Thiago Macieira
On Monday, 11 May 2020 04:08:16 PDT Ramakanth Kesireddy wrote: > Hi, > > Is there any option to use Wayland as QPA while configuring Qt 5.12.8 LTS > or it needs to be configured with EGLFS building Qt Wayland module with > prior requirement of OpenGL ES 2.x and above for handling multi-process >

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-05-11 Thread Thiago Macieira
On Monday, 11 May 2020 05:28:25 PDT Tuukka Turunen wrote: > "Permitted Software" shall mean any (i) open source software (excluding Open > Source Qt) that is a) generally available for public in source code form > without additional cost under any of the licenses approved by Open Source >

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-05-11 Thread Ramakanth Kesireddy
Hi Tuukka, Does it mean that if we use Qt 5.12.8 LTS commercial license, it is permitted to use Open source components like third party Qt WebKit module in conjunction with commercial license? Could you please let me know in this regard? Thanks and Regards, Ramakanth On Mon, 11 May, 2020,

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-05-11 Thread Tuukka Turunen
Hi, We have now clarified the license agreement to allow use of independent open-source items in conjunction with commercially license Qt. The updated agreement (version 4.2.3) states: "Permitted Software" shall mean any (i) open source software (excluding Open Source Qt) that is a)

[Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Ramakanth Kesireddy
Hi, Is there any option to use Wayland as QPA while configuring Qt 5.12.8 LTS or it needs to be configured with EGLFS building Qt Wayland module with prior requirement of OpenGL ES 2.x and above for handling multi-process usecases? Thanks and Regards, Ramakanth

Re: [Interest] CONFIG c++2a vs. QMAKE_CXXFLAGS += -std=c++2a

2020-05-11 Thread Michael Corcoran
Hi Bernhard, This is documented on the QMake Variable Reference page [0]. strict_c++ disables compiler extensions, so for example if you specify CONFIG += -std=c++2a with GCC [1] you will end up with --std=gnu++2a being passed to the compiler, and with instead CONFIG += -std=c++2a strict_c++

Re: [Interest] QWebSocket limit connection

2020-05-11 Thread Mårten Nordheim
Hello! If you are using a QWebSocketServer you can call close() when a new connection has been established and call listen() again when the currently-connected socket disconnects. Attached is a toy example of doing so. Mårten PS: Apologies for double mail to Alexander, pressed Reply instead

Re: [Interest] unexpected result from QString::compare

2020-05-11 Thread Giuseppe D'Angelo via Interest
Il 11/05/20 10:23, Hamish Moffatt ha scritto: Q_GLOBAL_STATIC(QThreadStorage, defaultCollator) Why does it need an instance per thread? Because QCollator is reentrant, not thread-safe. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (France) S.A.S., a

Re: [Interest] unexpected result from QString::compare

2020-05-11 Thread Hamish Moffatt
On 9/5/20 12:35 am, Thiago Macieira wrote: On Friday, 8 May 2020 05:05:43 PDT Hamish Moffatt wrote: localeAwareCompare() is working as expected. Unfortunately, it doesn't allow the case sensitivity to be specified (unlike QCollator::compare() and QString::compare()), which makes it less

[Interest] QWebSocket limit connection

2020-05-11 Thread Alexander Carôt
Hello all, I am using a QWebSocket in order to communicate between a browser and an application which works fine. In my specific use case I want to prevent more than one browser to connect to the application. Is there a way to decline further connections after one has been established ?