Re: [Interest] Qt web site issue (Firefox)

2025-04-06 Thread Allan Sandfeld Jensen
We need to fix it too. It is terrible practice to have websites not working across browsers. As a browser developer ourselves, we in Qt also have the experience of being on the receiving end of bad website developers. We need to do better. On Sunday 6 April 2025 14:26:41 Central European Summer

Re: [Interest] Qt WebEngine and Qt WebView User Survey

2025-02-18 Thread Allan Sandfeld Jensen
On Tuesday 18 February 2025 04:46:08 Central European Standard Time David M. Cotter via Interest wrote: > My I ask, is there ANY chance that you’re considering GETTING RID of it?? > It is hard to make promises about the future, but no one have suggested or even considered that. Previous surveys

Re: [Interest] Qt WebEngine and Qt WebView User Survey

2025-02-14 Thread Allan Sandfeld Jensen
On Thursday 13 February 2025 16:53:05 Central European Standard Time Andy wrote: > Vladimir: > > Thanks for the survey. There wasn't a free-form comment section at the end > of the survey, but I had a couple of notes... > > I use QWebEngine for three things for my desktop application: (1) > disp

Re: [Interest] Make a specific Unicode glyph wider in a QTextLayout

2024-12-15 Thread Allan Sandfeld Jensen
On Sunday 15 December 2024 18:07:46 Central European Standard Time Wang Gary wrote: > Hi again, > > > > > Replace the non-visible character in the model with a visible one in > > > > the > > > > view? > > > > > > Well, there are some reasons that I personally would like to avoid > > > that. Firs

Re: [Interest] Make a specific Unicode glyph wider in a QTextLayout

2024-12-15 Thread Allan Sandfeld Jensen
On Sunday 15 December 2024 15:56:53 Central European Standard Time Wang Gary wrote: > > > So the question is, what's the proper approach to implement such a > > > feature > > > using Qt's public API? Do the mentioned two approaches sound right? > > > > Replace the non-visible character in the mod

Re: [Interest] Make a specific Unicode glyph wider in a QTextLayout

2024-12-15 Thread Allan Sandfeld Jensen
On Sunday 15 December 2024 08:23:50 Central European Standard Time Wang Gary wrote: > Hi, > > I'm attempting to implement a feature in a plain text editor that similar > to Notepad++'s "show hidden characters", which allows toggle the visibility > of non-printable characters, like zero-width spac

Re: [Interest] Qt uses fontconfig on Linux, but what about Windows?

2023-12-18 Thread Allan Sandfeld Jensen
On Montag, 18. Dezember 2023 05:14:38 CET Thomas Larsen Wessel wrote: > Thanks :) In case others will be looking / googling for this, I will try to > share what I found out in the meantime. Please correct me where I am wrong > > :) > > At first I thought fontconfig was more of a software library

Re: [Interest] Qt uses fontconfig on Linux, but what about Windows?

2023-12-17 Thread Allan Sandfeld Jensen
On Samstag, 16. Dezember 2023 15:58:00 CET Thomas Larsen Wessel wrote: > Quote from https://doc.qt.io/qt-6/qt-embedded-fonts.html: > > *Qt normally uses fontconfig to provide access to system fonts*. If > > > fontconfig is not available, e.g. in dedicated embedded systems where > > space > > is a

Re: [Interest] QtCreator new C++ formatting is not good sometimes...

2023-06-26 Thread Allan Sandfeld Jensen
On Montag, 26. Juni 2023 18:11:55 CEST Alexander Dyagilev wrote: > Hello, > > Let's suppose I have this: > > I always prefer a base class to be specified on the second line. > > In older versions if I press Enter I was getting something like this: > > Now I'm getting this: > > This is neither

Re: [Interest] Qt 6.5 Is Irrelevant...

2022-12-20 Thread Allan Sandfeld Jensen
On Montag, 19. Dezember 2022 16:59:41 CET Michael Jackson wrote: > So not really a “jolt every 3 years”. You have had 3 _total_ jolts over the > course of 30 years. > Except them dropping support for pre-AVX, pre-AVX2 CPUs, constantly dropping support for GPUs older than 4 years all the bloody ti

Re: [Interest] Scripting within Qt6 and QJSEngine

2022-10-05 Thread Allan Sandfeld Jensen
On Mittwoch, 5. Oktober 2022 09:28:19 CEST Christian Kandeler via Interest wrote: > On 9/26/22 17:47, Filippo Rusconi via Interest wrote: > > Greetings, > > my C++ software program (GUI) was scriptable using the QtScript module > > of Qt5. > > > > I now would like to build it using Qt6 and to tak

Re: [Interest] webenginewidgets (Win MinGw11.2.0)

2022-05-18 Thread Allan Sandfeld Jensen
On Mittwoch, 18. Mai 2022 08:58:20 CEST Alexander Carôt wrote: > >>MinGW is unsupported in qtwebengine in the sense it doesn't work at all. > > Understood – I wonder what would be required in order to make it support > qtwebengine. It sounds not to be trivial. > Well, technically it might not be

Re: [Interest] webenginewidgets (Win MinGw11.2.0)

2022-05-17 Thread Allan Sandfeld Jensen
On Dienstag, 17. Mai 2022 18:47:03 CEST Thiago Macieira wrote: > On Tuesday, 17 May 2022 01:33:16 PDT Allan Sandfeld Jensen wrote: > > It is not supported for MinGW. Only MSVC, and clang-cl on windows. > > And clang-cl is not supported for qtbase. Not officially perhaps, but it

Re: [Interest] webenginewidgets (Win MinGw11.2.0)

2022-05-17 Thread Allan Sandfeld Jensen
On Dienstag, 17. Mai 2022 07:55:41 CEST Alexander Carôt wrote: > Hello all, > > after success on OSX I am now trying to get my code working with Windows > (MinGw11.2.0). > > I installed Qt6.3 including any other additional library but qmake tells me: > > Project ERROR: Unknown module(s) in QT: w

Re: [Interest] qtwebbroser questions

2022-04-11 Thread Allan Sandfeld Jensen
On Montag, 11. April 2022 11:48:09 CEST Alexander Carôt wrote: > Hej Allan, > > thanks for the reply ! > > >> If you want a browser based on QtWebEngine I can recommend Falkon or > >> Qutebrowser > > Theoretically this is the best choice, however, I need to be on Qt6 and they > all still seem to

Re: [Interest] QtWebEngine missing in Qt6.2.4 ?

2022-04-08 Thread Allan Sandfeld Jensen
On Freitag, 8. April 2022 16:38:51 CEST Sze Howe Koh wrote: > It is now "QT += webenginequick" (in contrast to "QT += > webenginewidgets"): > https://doc.qt.io/qt-6/qtwebenginequick-module.html > > This is a kind of source compatibility break; it would be nice if > there were deprecation warnings

Re: [Interest] Reasons why deleteLater() might not work

2022-04-01 Thread Allan Sandfeld Jensen
On Freitag, 1. April 2022 15:17:59 CEST Michael Jackson wrote: > I have a bit of code where in I am removing a QWidget from the UI and it > needs to be truly cleaned up as its parent QObject is also being cleaned > up. I thought I did the appropriate: > > layout->removeWidget(widget); > widget->se

Re: [Interest] Build Issues with QT 6.2.3

2022-02-06 Thread Allan Sandfeld Jensen
On Sonntag, 6. Februar 2022 00:15:54 CET BeneschTech LLC wrote: > OS: Ubuntu 20.04 LTS > Compiler Suite: clang 15 (from git) > > In the webengine build, a file fails because of -Werror. Maybe we need to > take that off of the build flags? > Did you build with the warning-are-errors feature flag

Re: [Interest] What's up with Qt's graphic stack (6.2.1) (and WebEngine)?

2021-11-24 Thread Allan Sandfeld Jensen
On Mittwoch, 24. November 2021 18:40:07 CET Nils Jeisecke wrote: > Hi Allan, > > > We are planning to do that, but it is somewhat complicated. The > > QQuickWidget we use, only support OpenGL and Software in Qt 6.2, and > > there is no other QRHIWidget available or planned. We will be trying with

Re: [Interest] What's up with Qt's graphic stack (6.2.1) (and WebEngine)?

2021-11-24 Thread Allan Sandfeld Jensen
On Mittwoch, 24. November 2021 12:24:23 CET Nils Jeisecke wrote: > Thanks for your response Allan. > > On Tue, Nov 23, 2021 at 4:28 PM Allan Sandfeld Jensen wrote: > > We only support two backends in WebEngine currently, either WGL OpenGL or > > the software backend. The so

Re: [Interest] What's up with Qt's graphic stack (6.2.1) (and WebEngine)?

2021-11-23 Thread Allan Sandfeld Jensen
On Dienstag, 23. November 2021 14:53:30 CET Nils Jeisecke via Interest wrote: > Hi list, > > while checking out the status of Qt's graphics stack with very basic > QtQuick based applications I've made the following observations: > > 1. Windows 10 in VMWare Fusion: No window content is rendered fo

Re: [Interest] bulding Qt from git

2021-10-28 Thread Allan Sandfeld Jensen
On Montag, 25. Oktober 2021 17:27:38 CEST Alexander Carôt wrote: > Final three conclusions of this resolved thread: > > 1.) I learned that the dev branch is not necessarily stable. In this case Qt > staff is working on qtpositioning and when trying to build the dev branch > one needs to -skip qtp

Re: [Interest] Ashamed bug :)

2021-09-04 Thread Allan Sandfeld Jensen
On Samstag, 4. September 2021 09:23:45 CEST Ilya Diallo wrote: > Le sam. 4 sept. 2021 à 00:14, Thiago Macieira a > > écrit : > > On Friday, 3 September 2021 14:04:01 PDT David M. Cotter wrote: > > > there's also the rather daunting barrier to entry for folks who COULD > > > fix > > > it: > > > >

Re: [Interest] Qt 6.2 vs. Qt 5.15 – The Feature Parity Comparison – QtPDF

2021-09-03 Thread Allan Sandfeld Jensen
On Freitag, 3. September 2021 09:52:04 CEST Heiko Gerdau wrote: > Am 02.09.21 um 15:14 schrieb Benjamin TERRIER: > > Hi > > > > I just went through the latest news article: > > https://www.qt.io/blog/qt-6.2-vs.-qt-5.15-the-feature-parity-comparison > >

Re: [Interest] Configuring Qt's built-in freetype ?

2021-08-26 Thread Allan Sandfeld Jensen
On Donnerstag, 26. August 2021 13:36:42 CEST Jean-Michaël Celerier wrote: > Hi, > > for consistency, I am shipping my app with freetype on all platforms. > This looks "correct", definitely better than using macOS or Win32's font > rendering, but ! Qt's built-in freetype does not look as good than

Re: [Interest] QJsonDocument::fromVariant failing with list

2021-06-09 Thread Allan Sandfeld Jensen
On Dienstag, 8. Juni 2021 23:47:50 CEST Thiago Macieira wrote: > On Tuesday, 8 June 2021 13:57:53 PDT Jason H wrote: > > Which is neiher what I acually had but performs the same bad conversion as > > what I had. I am not sure why the QVariantList vs QList have different > > fidelity - the one with

Re: [Interest] Futur of Qt Webengine in Qt 6

2021-04-14 Thread Allan Sandfeld Jensen
On Mittwoch, 14. April 2021 13:00:01 CEST Frank Hemer wrote: > On Montag, 12. April 2021 17:35:43 CEST Allan Sandfeld Jensen wrote: > > On Montag, 12. April 2021 13:20:36 CEST Frank Hemer wrote: > > > Hi all, > > > > > > i wonder what are the plans for Qt W

Re: [Interest] Futur of Qt Webengine in Qt 6

2021-04-12 Thread Allan Sandfeld Jensen
On Montag, 12. April 2021 13:20:36 CEST Frank Hemer wrote: > Hi all, > > i wonder what are the plans for Qt Webengine in Qt 6. > > While webkit has been removed and replaced by webengine, there is still no > replacement supported by the mingw compiler yet. > As a commercial customer it was disapp

Re: [Interest] The willy-nilly deletion of convenience, methods (was: Mixing Commercial and Open...)

2021-03-22 Thread Allan Sandfeld Jensen
On Montag, 22. März 2021 10:38:09 CET Roland Hughes wrote: > On 3/22/21 4:07 AM, Bernhard Lindner wrote: > >> Licensing FUD + death-of-perpetual-license + death-of-OpenSource-LTS + > >> Qt-6-rolling-out-incomplete + deleted-convenience-methods = > >> customers-leaving > > > > I wonder if the loss

Re: [Interest] Qt WebEngine 5.15.3 tag

2021-03-04 Thread Allan Sandfeld Jensen
On Donnerstag, 4. März 2021 15:16:27 CET Benjamin TERRIER wrote: > Hi, > > Given that the Qt WebEngine module is an exception to the commercial only > LTS support, > could we have v5.15.3 tags for https://code.qt.io/cgit/qt/qtwebengine.git/ > and https://code.qt.io/cgit/qt/qtwebengine-chromium.git

Re: [Interest] qmake bug. Any workaround?

2021-01-15 Thread Allan Sandfeld Jensen
On Freitag, 15. Januar 2021 15:54:25 CET Alexander Dyagilev wrote: > Hello, > > I am trying to create a .pro file to compile Microsoft Detours lib. > > Failed, it generates linker error: > > detours.obj:-1: error: LNK2019: unresolved external symbol > DetourCopyInstruction referenced in function

Re: [Interest] Qt 6.0 removed Xml Patterns

2020-12-11 Thread Allan Sandfeld Jensen
On Freitag, 11. Dezember 2020 10:53:03 CET Robert Hairgrove wrote: > I cannot seem to find any articles about QXmlPatterns which would > explain WHY this very useful module was deprecated in 5.13 (or 5.15?), > then removed in 6.0? > > Is it a licensing issue? > No, it was just unmaintained. I thi

Re: [Interest] Will a Qt 5.x release support macOS 11?

2020-12-09 Thread Allan Sandfeld Jensen
On Donnerstag, 10. Dezember 2020 01:50:41 CET Sze Howe Koh wrote: > On Wed, 9 Dec 2020 at 20:48, Tor Arne Vestbø wrote: > > > On 9 Dec 2020, at 13:16, Tor Arne Vestbø wrote: > > > > > > Hi Benjamin, > > > > > > Qt 5 will officially support macOS 11 in upcoming 5.15 and 5.12 patch > > > releases

Re: [Interest] Will a Qt 5.x release support macOS 11?

2020-12-09 Thread Allan Sandfeld Jensen
On Mittwoch, 9. Dezember 2020 08:07:45 CET Ben Haller via Interest wrote: > Hi all. Just wondering whether there is any plan for any Qt 5.x release to > support macOS 11. At present, Qt 5.15 supports only through macOS 10.15 > (https://doc.qt.io/qt-5/macos.html#supported-versions), as far as I ca

Re: [Interest] Qt WebEngine, MHTML and custom schemes

2020-12-01 Thread Allan Sandfeld Jensen
On Montag, 30. November 2020 15:00:10 CET Benjamin TERRIER wrote: > Hi, > > When accessing an MHTML file using a custom local scheme (either using > 'qrc:/' or using 'QWebEngineUrlSchemeHandler') it triggers a download. > > However, when using 'file:/' the MHTML file is displayed as a web page. >

Re: [Interest] What is Qt::Key_Cancel?

2020-07-09 Thread Allan Sandfeld Jensen
On Donnerstag, 9. Juli 2020 12:41:14 CEST Tor Arne Vestbø wrote: > It’s mapped to e.g. VK_CANCEL on Windows: > > ❯ git grep Key_Cancel > > dist/changes-4.2.0:1246: * Added > several missing keys to the

Re: [Interest] Gold linker configuration in Qt 5

2020-07-02 Thread Allan Sandfeld Jensen
On Donnerstag, 2. Juli 2020 11:29:17 CEST Ramakanth Kesireddy wrote: > Hi, > > Is it recommended to use gold linker or system linker with > -no-use-goldlinker while configuring Qt5.6.3 and above? > > As per my understanding, gold linker should provide faster linking and use > less memory than the

Re: [Interest] QtQuick: weird fonts problem

2020-06-12 Thread Allan Sandfeld Jensen
On Freitag, 12. Juni 2020 07:17:30 CEST Jason H wrote: > From what I've seen, it's a combination of poor font hinting, a bad > cleartype implementation, it some combination there of. You can change the > way Qt handles the font hinting, by turning off antialiased text. It'll > good the issue, but t

Re: [Interest] QtQuick: weird fonts problem

2020-06-12 Thread Allan Sandfeld Jensen
On Dienstag, 9. Juni 2020 08:51:47 CEST Alexander Dyagilev wrote: > Hello, > > One of our users reported that text drawing is broken. It's PNG, it > seems image is not blurred and this is how app looks really on his PC. > > Why can this happen? > > https://i.imgur.com/GG9hXPQ.png Pretty sure I

Re: [Interest] Qt 5.12.8 32 bit libraries configure options on Ubuntu 16.04

2020-05-05 Thread Allan Sandfeld Jensen
o replicate the same tests being performed on 32 bit target. > > Please let me know if we need to install the 32 bit library versions to > resolve the above errors. > > Best Regards, > Ramakanth > > > On Tue, May 5, 2020 at 12:30 AM Allan Sandfeld Jensen > > wr

Re: [Interest] Qt 5.12.8 32 bit libraries configure options on Ubuntu 16.04

2020-05-04 Thread Allan Sandfeld Jensen
On Montag, 4. Mai 2020 18:31:19 CEST Ramakanth Kesireddy wrote: > Hi, > > Can anyone let me know the configure options to generate 32 bit Qt 5.12.8 > libraries on Ubuntu 16.04 like the below equivalent configure options in Qt? > > for ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" >

Re: [Interest] QtWebengine is not built with v8 snapshot error

2020-05-03 Thread Allan Sandfeld Jensen
wrote: > Thanks for your mail. > Could you please let me know the packages to be installed on Ubuntu > 16.04(64 bit) to match the target for building the snapshot? > > Best Regards, > Ramakanth > > On Sun, May 3, 2020 at 12:15 PM Allan Sandfeld Jensen > > wrote: > &

Re: [Interest] QtWebengine is not built with v8 snapshot error

2020-05-02 Thread Allan Sandfeld Jensen
On Sonntag, 3. Mai 2020 06:20:22 CEST Ramakanth Kesireddy wrote: > ,Hi, > > As am trying to cross-compile Qt 5.12.8 sources on Ubuntu 16.04(64 bit), it > throws below error: > > V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not > work. Please make sure you have 32-bit de

Re: [Interest] Qt Application - Disabling AVX/AVX2

2020-04-22 Thread Allan Sandfeld Jensen
On Mittwoch, 22. April 2020 17:29:56 CEST coroberti . wrote: > On Wed, Apr 22, 2020 at 6:17 PM Thiago Macieira > > wrote: > > On Tuesday, 21 April 2020 14:26:13 PDT coroberti . wrote: > > > Hi, > > > Is it enough to define: > > > > > > QMAKE_CFLAGS -= -arch:AVX -arch:AVX2 > > > QMAKE_CXXFLAGS -=

Re: [Interest] QVariant compare operator

2020-04-19 Thread Allan Sandfeld Jensen
On Sonntag, 19. April 2020 14:39:40 CEST André Pönitz wrote: > On Sun, Apr 19, 2020 at 02:21:39PM +0200, Allan Sandfeld Jensen wrote: > > > I don't think we need "incomparable" here. > > > > > > QVariant(TypeA) and QVariant(TypeB) can be ordered for di

Re: [Interest] QVariant compare operator

2020-04-19 Thread Allan Sandfeld Jensen
On Sonntag, 19. April 2020 14:23:56 CEST André Pönitz wrote: > On Sun, Apr 19, 2020 at 01:28:32PM +0200, Allan Sandfeld Jensen wrote: > > On Sonntag, 19. April 2020 13:05:05 CEST André Pönitz wrote: > > > On Sat, Apr 18, 2020 at 09:44:40PM -0300, Thiago Macieira wrote: >

Re: [Interest] QVariant compare operator

2020-04-19 Thread Allan Sandfeld Jensen
On Sonntag, 19. April 2020 13:05:05 CEST André Pönitz wrote: > On Sat, Apr 18, 2020 at 09:44:40PM -0300, Thiago Macieira wrote: > > On Saturday, 18 April 2020 12:57:55 -03 Giuseppe D'Angelo via Interest wrote: > > > I guess that's the reason for dropping the comparisons in 6.0 and, > > > eventuall

Re: [Interest] Hardware accelerated rendering in Qt 5.12.7

2020-04-04 Thread Allan Sandfeld Jensen
g from QWidget? > > On Tue, 4 Feb, 2020, 13:52 Allan Sandfeld Jensen, wrote: > > On Dienstag, 4. Februar 2020 03:26:12 CET Ramakanth Kesireddy wrote: > > > Hi, > > > > > > Our existing application is based on c++ widgets(QWidget) using QPainter > > >

Re: [Interest] WebEngine proxy whitelist

2020-03-06 Thread Allan Sandfeld Jensen
On Friday, 6 March 2020 11:02:55 CET Benjamin TERRIER wrote: > On Thu, 5 Mar 2020 at 21:54, Allan Sandfeld Jensen wrote: > > I don't know why they would say that, as far as I know it works. In any > > case I > > would suggest using the same mechanism we use for te

Re: [Interest] WebEngine proxy whitelist

2020-03-05 Thread Allan Sandfeld Jensen
On Thursday, 5 March 2020 20:57:06 CET Benjamin TERRIER wrote: > On Thu, 5 Mar 2020 at 19:56, Allan Sandfeld Jensen wrote: > > Could you write it as a pac-script? > > > > I think there are some Chromium command-line arguments too that can change > > the > > defa

Re: [Interest] WebEngine proxy whitelist

2020-03-05 Thread Allan Sandfeld Jensen
On Wednesday, 4 March 2020 16:33:17 CET Benjamin TERRIER wrote: > Hi, > > Is there any way to set a whitelist of URLs for proxy in Qt WebEngine? > > In Qt application this is done by implementing > QNetworkProxyFactory::queryProxy() and returning NoProxy based on the query > URL. > > However, ev

Re: [Interest] Hardware accelerated rendering in Qt 5.13

2020-02-04 Thread Allan Sandfeld Jensen
On Dienstag, 4. Februar 2020 03:26:12 CET Ramakanth Kesireddy wrote: > Hi, > > Our existing application is based on c++ widgets(QWidget) using QPainter on > Qt 5.13. As i understand Qpainter uses raster engine for graphics > rendering, Is there any means to make use of hardware accelerated > rende

Re: [Interest] QVideoFrame 32 bit formats byte order

2019-11-14 Thread Allan Sandfeld Jensen
On Thursday, 14 November 2019 21:37:09 CET Allan Sandfeld Jensen wrote: > On Thursday, 14 November 2019 21:17:38 CET Stefan Fabian wrote: > > That may be explained by the endianness, though, since ARGB as 32bit uint > > on little-endian (what most if not all consumer pcs use) w

Re: [Interest] QVideoFrame 32 bit formats byte order

2019-11-14 Thread Allan Sandfeld Jensen
On Thursday, 14 November 2019 21:17:38 CET Stefan Fabian wrote: > That may be explained by the endianness, though, since ARGB as 32bit uint on > little-endian (what most if not all consumer pcs use) would be BGRA in > memory. In the case of BGRA32, endianness could change it to ARGB but not > ABGR

Re: [Interest] Dark mode for other platforms

2019-10-16 Thread Allan Sandfeld Jensen
On Wednesday, 16 October 2019 13:59:54 CEST Nikos Chantziaras wrote: > On 15/10/2019 13:46, Allan Sandfeld Jensen wrote: > > On Tuesday, 15 October 2019 11:58:42 CEST Vadim Peretokin wrote: > >> Hello! > >> > >> I've noticed that Qt on macOS now automa

Re: [Interest] Dark mode for other platforms

2019-10-15 Thread Allan Sandfeld Jensen
On Tuesday, 15 October 2019 11:58:42 CEST Vadim Peretokin wrote: > Hello! > > I've noticed that Qt on macOS now automatically uses dark mode, and it > looks amazing > . My > question is: how can I enable this for Windows and Linux as w

Re: [Interest] Building QTWebEngine

2019-10-10 Thread Allan Sandfeld Jensen
On Thursday, 10 October 2019 01:07:46 CEST Simon Matthews wrote: > On 10/9/19 3:52 PM, Thiago Macieira wrote: > > > On Wednesday, 9 October 2019 15:18:33 PDT Simon Matthews wrote: > > > >> However, it appears that files such as "Qt5WebEngineConfig.cmake" are > >> not included in my build. > >> >

Re: [Interest] Q_NAMESPACE is not portable?

2019-08-26 Thread Allan Sandfeld Jensen
On Monday, 26 August 2019 17:29:31 CEST Matthew Woehlke wrote: > On 23/08/2019 19.02, Giuseppe D'Angelo via Interest wrote: > > On 24/08/2019 00:10, Matthew Woehlke wrote: > >> Am I doing something wrong, or is it impossible to use Q_NAMESPACE > >> correctly without platform-specific PP conditional

Re: [Interest] QPainter::drawImage() is terrible at smooth scaling?

2019-05-17 Thread Allan Sandfeld Jensen
On Freitag, 17. Mai 2019 06:48:20 CEST David M. Cotter wrote: > is this a bug? > > https://forum.qt.io/topic/102637/qpainter-drawimage-is-terrible-at-smooth-sc > aling > Likes like you are downscaling more than 2x. QPainter is doing bilinear sampling when smooth scaling, and that produces bad re

Re: [Interest] Building Qt and WebEngine

2019-04-25 Thread Allan Sandfeld Jensen
On Donnerstag, 25. April 2019 10:28:42 CEST Volker Enderlein wrote: > Hi, > > > when building Qt and WebEngine separately (i.e. not doing an embeddd > build), do I need to install Qt before building WebEngine and provide > the path to the installation? > > Are there any step by step instructions

Re: [Interest] Qt 5.13 QtWebEngine GN Error

2019-04-23 Thread Allan Sandfeld Jensen
On Dienstag, 23. April 2019 19:45:14 CEST Oliver Niebuhr wrote: > Hi. > > I am constantly running into the following Error: > > Project MESSAGE: > C:\qt5srcgit\qt5\qtwebengine\src\3rdparty\gn\build\gen.py > --no-last-commit-position --out-path > C:/QtSrcx64/qtwebengine/src/3rdparty/gn/out/Release

Re: [Interest] [Development] Qt 6 Planning: Consideration of dropping support for UWP applications

2019-04-21 Thread Allan Sandfeld Jensen
On Donnerstag, 18. April 2019 14:46:59 CEST Oliver Wolff wrote: > Hi, > > as you might have heard, we are currently in Qt 6's planning phase and > thus checking things that have to be done to make Qt even better. > Of course we also want to use this opportuniy to drop support for > platforms tha

Re: [Interest] WebAuthn support

2019-04-07 Thread Allan Sandfeld Jensen
On Sonntag, 7. April 2019 06:13:44 CEST Tom Isaacson wrote: > I was trying to find whether Qt supports WebAuthn but all I could find is > this list of missing use cases for QtWebEngine: > https://wiki.qt.io/QtWebEngine/UseCases > > Is there anything else, does it just require an example or is it s

Re: [Interest] Qt 5.9 and OpenSSL 1.1?

2019-03-21 Thread Allan Sandfeld Jensen
On Donnerstag, 21. März 2019 10:16:35 CET René J. V. Bertin wrote: > >> Actually, it doesn't: 5.9 support ends in May 2020, OpenSSL 1.0 in Dec > >> 2019.> > > You're off by one year. 5.9.0 was released May 29, 2017. > > > > (probably a bit later because we are able to > > make the 5.9.9 release).

Re: [Interest] [#ID:INC-1251018#] Installation issue.

2019-03-11 Thread Allan Sandfeld Jensen
On Dienstag, 12. März 2019 02:02:44 CET Thiago Macieira wrote: > On Monday, 11 March 2019 04:14:02 PDT Bill Crocker wrote: > > If you can build with GCC 4.8 on "Generic Linux" why does > > RHEL7 require GCC 5.3.1 > > The problem is not the GCC version. It's the set of libraries provided by > the o

Re: [Interest] Disable -Og when configuring as developer build

2019-02-15 Thread Allan Sandfeld Jensen
On Freitag, 15. Februar 2019 19:43:56 CET Konstantin Shegunov wrote: > On Fri, Feb 15, 2019 at 4:57 PM Allan Sandfeld Jensen > > wrote: > > Btw. If(when) the output isn't debug friendly, it is really a gcc bug > > True, and I (hope) I haven't implied otherwise. &g

Re: [Interest] Disable -Og when configuring as developer build

2019-02-15 Thread Allan Sandfeld Jensen
On Freitag, 15. Februar 2019 15:00:36 CET Konstantin Shegunov wrote: > Hello, > That flag's been a pain for me to debug the Qt codebase for a while now, > I'm really annoyed that configure generates it when using -developer-build. > Long story short it prevents me to do step-by-step with gdb as the

Re: [Interest] Disable -Og when configuring as developer build

2019-02-15 Thread Allan Sandfeld Jensen
On Freitag, 15. Februar 2019 15:00:36 CET Konstantin Shegunov wrote: > Hello, > That flag's been a pain for me to debug the Qt codebase for a while now, > I'm really annoyed that configure generates it when using -developer-build. > Long story short it prevents me to do step-by-step with gdb as the

Re: [Interest] QWebEnginePage acceptNavigationRequest leads to empty page

2019-01-28 Thread Allan Sandfeld Jensen
On Montag, 28. Januar 2019 13:11:45 CET Sven Bergner wrote: > Hi there, > I have an app that uses QWebEngine to show a webpage that has a link to a > pdf document. > Now I want to handle a click on that link by > implementing QWebEnginePage::acceptNavigationRequest(). > The method is called an I ca

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-12 Thread Allan Sandfeld Jensen
On Dienstag, 13. November 2018 07:50:12 CET coroberti . wrote: > > > Il 11/11/18 17:15, coroberti . ha scritto: > > > > Following Allan's advise, here's something that is starting to work > > > > (checks omitted) > > > > > > > > QTextDocument* doc = this->text_edit_->document(); > > > > QTextBlock

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-11 Thread Allan Sandfeld Jensen
On Sonntag, 11. November 2018 16:13:12 CET coroberti . wrote: > On Sun, Nov 11, 2018 at 5:06 PM Allan Sandfeld Jensen wrote: > > On Sonntag, 11. November 2018 14:11:52 CET coroberti . wrote: > > > Hi, > > > It seems that arranging line spacing for text in QTextEdit

Re: [Interest] [Development] QTextEdit - Line Spacing

2018-11-11 Thread Allan Sandfeld Jensen
On Sonntag, 11. November 2018 14:11:52 CET coroberti . wrote: > Hi, > It seems that arranging line spacing for text in QTextEdit (like 1.5, > 2, 3 lines) is not an easy coding. > > Any code samples, directions, howtos would be very much appreciated. > There is probably a way to get to the default

Re: [Interest] QWE hacking: "backporting" src/3rdparty/chromium?

2018-11-08 Thread Allan Sandfeld Jensen
On Mittwoch, 7. November 2018 15:09:40 CET René J.V. Bertin wrote: > Hi, > > Out of curiosity, how feasible would it be to deploy a more up-to-date > QtWebEngine on a system that's stuck on an older Qt version. I understood > from a previous exchange that QWE is much more a "thin wrapper" around t

Re: [Interest] update on building Qt/Linux with clang?

2018-11-05 Thread Allan Sandfeld Jensen
On Montag, 5. November 2018 20:33:58 CET René J.V. Bertin wrote: > On Monday November 05 2018 12:03:31 René J.V. Bertin wrote: > >In my experience clang generates significantly more compact binaries > > Quite: bzipped tarballs of everything except the examples, translations, > QWE, QtWebView and Q

Re: [Interest] update on building Qt/Linux with clang?

2018-11-05 Thread Allan Sandfeld Jensen
On Montag, 5. November 2018 12:10:15 CET Jean-Michaël Celerier wrote: > I tried building everything with clang 7 and libc++ last week but hit a > qlalr segfault during build. I've been trying to debug it ever since to no > avail. > > clang sometimes segfaults while compiling, the crash usually go

Re: [Interest] update on building Qt/Linux with clang?

2018-11-05 Thread Allan Sandfeld Jensen
On Montag, 5. November 2018 12:03:31 CET René J.V. Bertin wrote: > Hi, > > Last time I asked the advice was still not to bother with trying to build > (all of) Qt with clang on Linux. Is that still the case or is it now safe > to use clang (5 or 6)? > > In my experience clang generates significan

Re: [Interest] Bug Reports

2018-10-22 Thread Allan Sandfeld Jensen
On Montag, 22. Oktober 2018 21:37:01 CEST Dan Allen wrote: > Hi All, > > I'm frustrated by what has happened on the last bug report > I posted yesterday. > > Why would this get closed in this way so quickly? Could there not have > been a comment just

Re: [Interest] Porting Qt to our RTOS

2018-09-28 Thread Allan Sandfeld Jensen
On Freitag, 28. September 2018 00:20:37 CEST Kim Hartman wrote: > Thanks Tuuka (and others), > > We've ported much of the BOOST libraries, so pthreads are most possible. > I've started an internal audit of the rest of POSIX services we would need > in order to create an INtime QPA. Is there a mor

Re: [Interest] Linux openssl 1.1.0 versus 1.0.X

2018-09-16 Thread Allan Sandfeld Jensen
On Sonntag, 16. September 2018 12:14:28 CEST Roland Winklmeier wrote: > Christophe Thomas schrieb am So., 16. Sep. 2018, > > 10:41: > > Hello, > > > > From the comment of Giuseppe I understand that we could go with just a > > package installation. I've an ubuntu 18.04 (not installed from scratch

Re: [Interest] Macro to identify desktop(Ubuntu-X86) and embedded Linux(ARM)

2018-09-08 Thread Allan Sandfeld Jensen
On Samstag, 8. September 2018 22:56:29 CEST Thiago Macieira wrote: > On Saturday, 8 September 2018 11:56:45 PDT Tomasz Olszak wrote: > > So as well you can to it in runtime and don't need macro. > > Better yet, don't do anything. Use the font that the user configured and > don't override. If you d

Re: [Interest] Metal-accelerated QPainter on macOS with MoltenGL?

2018-08-25 Thread Allan Sandfeld Jensen
On Samstag, 25. August 2018 01:23:57 CEST Adam Twardoch (Lists) wrote: > > But is this easily possible? > I would guess so, it is probably a matter of loading the right OpenGL libary. I don't have a Mac new enough to support Metal so I can't test, but I would try to figure out how Qt loads the

Re: [Interest] Drawing slow.

2018-08-18 Thread Allan Sandfeld Jensen
On Samstag, 18. August 2018 17:03:43 CEST william.croc...@analog.com wrote: > On 08/17/2018 02:36 PM, Bill Crocker wrote: > > Hello: > > > > My newer, Qt based drawing program takes orders of magnitude longer to > > draw lines than my good old plain X-Windows based drawing program. > > > > The Qt

Re: [Interest] Chromium build failure, SSL and Qt 5.6.3 vs 5.6.0,

2018-07-31 Thread Allan Sandfeld Jensen
On Dienstag, 31. Juli 2018 14:02:23 CEST Christian Gagneraud wrote: > On 31 July 2018 at 23:45, Allan Sandfeld Jensen wrote: > > > > The question was: Do you want security fixes or not? The reason it was > > done is because we have upped our game on security fixes in webe

Re: [Interest] Chromium build failure, SSL and Qt 5.6.3 vs 5.6.0,

2018-07-31 Thread Allan Sandfeld Jensen
On Dienstag, 31. Juli 2018 13:32:38 CEST Christian Gagneraud wrote: > On 31 July 2018 at 21:43, Allan Sandfeld Jensen wrote: > > On Sonntag, 29. Juli 2018 22:58:41 CEST Christian Gagneraud wrote: > >> Hi, > >> > >> We used to build Qt-5.6.3 on and for Linux-i3

Re: [Interest] Chromium build failure, SSL and Qt 5.6.3 vs 5.6.0,

2018-07-31 Thread Allan Sandfeld Jensen
On Sonntag, 29. Juli 2018 22:58:41 CEST Christian Gagneraud wrote: > Hi, > > We used to build Qt-5.6.3 on and for Linux-i386. > I recently had to downgrade to Qt-5.6.0 (see below), but now the build > fails with: > > qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c: > In functi

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Allan Sandfeld Jensen
On Montag, 4. Juni 2018 09:00:28 CEST Giuseppe D'Angelo wrote: > Il 23/05/2018 16:16, Jason H ha scritto: > > Really wishing this function existed. Can someone explain why it doesnt' > > exist? > Because QVariant (as well as most Qt APIs) has wide contracts; combined > with the policy of not using

Re: [Interest] QImage + pixel lambdas

2018-06-04 Thread Allan Sandfeld Jensen
On Freitag, 1. Juni 2018 15:38:03 CEST Jason H wrote: > So I'm doing some qimage analysis/manipulation. I think it would be really > good if QImage came with a per-pixel function. (Examples below) I'm tired > of writing the x/y for loops. The really neat thing (not in the examples) > is using QImag

Re: [Interest] HDR 10/ HDR Dolby support?

2018-05-15 Thread Allan Sandfeld Jensen
On Dienstag, 15. Mai 2018 19:48:03 CEST Boudewijn Rempt wrote: > On dinsdag 15 mei 2018 19:00:53 CEST Allan Sandfeld Jensen wrote: > > They only way I know of doing that at all at the moment is on Windows and > > only using fullscreen mode, and the monitor probably only supports it

Re: [Interest] HDR 10/ HDR Dolby support?

2018-05-15 Thread Allan Sandfeld Jensen
On Dienstag, 15. Mai 2018 18:05:04 CEST Boudewijn Rempt wrote: > On dinsdag 15 mei 2018 18:00:04 CEST Allan Sandfeld Jensen wrote: > > On Dienstag, 15. Mai 2018 12:21:53 CEST Boudewijn Rempt wrote: > > > Hi, > > > > > > I'm wondering, is there any

Re: [Interest] HDR 10/ HDR Dolby support?

2018-05-15 Thread Allan Sandfeld Jensen
On Dienstag, 15. Mai 2018 12:21:53 CEST Boudewijn Rempt wrote: > Hi, > > I'm wondering, is there any work going to support HDR 10 or HDR Dolby from > within Qt, directly or through OpenGL? Has anyone tried something like that? That is a TV format. What do you want Qt to do with it? I have solutio

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

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] QImage detect full transparent

2018-02-25 Thread Allan Sandfeld Jensen
On Sonntag, 25. Februar 2018 21:35:41 CET maitai wrote: > Just what I was looking for. I already live with using qt private stuff > Though if you want to check for only fully transparent pixels, and not just some, it might be faster to do just do a memory compare against null. That should be rea

Re: [Interest] QImage detect full transparent

2018-02-25 Thread Allan Sandfeld Jensen
On Sonntag, 25. Februar 2018 20:23:32 CET maitai wrote: > Hello, > Seems quite basic, but I need a **fast** way to know if a QImage is just > full transparent. I know the size in advance (256x256). If it were a > QPixmap I would use cacheKey() and compare with the cacheKey of a full > transparent i

Re: [Interest] QWebView vs. QWebEngine

2018-02-02 Thread Allan Sandfeld Jensen
On Montag, 29. Januar 2018 14:57:50 CET Walter Stefan wrote: > Hi, > > I've done some research about QWebView and QWebEngine and came to the > following conclusion: > > QWebView is under GPL and uses internally WebKit. > QWebEngine is under LGPL and uses internally Chromium. > Be careful with th

Re: [Interest] font smoothing gamma changes in Qt 5.9?

2017-12-22 Thread Allan Sandfeld Jensen
On Donnerstag, 21. Dezember 2017 12:02:21 CET René J.V. Bertin wrote: > Hi, > > Well, it's confirmed: I was seeing the same "watery" rendering on certain > fonts under Linux/X11 using Freetype+Infinality (still on 2.6.5 on Linux; > Mac has 2.7.1 with the same patches). I need a font smoothing gamm

Re: [Interest] building Qt 5.9 on Linux - clang or GCC?

2017-12-21 Thread Allan Sandfeld Jensen
On Mittwoch, 20. Dezember 2017 18:32:16 CET Konstantin Tokarev wrote: > 20.12.2017, 20:17, "René J. V. Bertin" : > > Thiago Macieira wrote: > >> A Qt release build builds with -g1 instead of -g, which should be > >> sufficient for backtraces but not for debugging. > > > > That's interesting, the

Re: [Interest] font smoothing gamma changes in Qt 5.9?

2017-12-19 Thread Allan Sandfeld Jensen
On Dienstag, 19. Dezember 2017 19:51:40 CET René J. V. Bertin wrote: > Hi, > > Has something changed to the font smoothing gamma algorithm used with > libfreetype in Qt 5.9? > Yes. OpenType CEF fonts are now stem-darkening and rendered gamma-corrected, similarly to what CoreText would do. The re

Re: [Interest] building Qt 5.9 on Linux - clang or GCC?

2017-12-18 Thread Allan Sandfeld Jensen
On Montag, 18. Dezember 2017 20:55:42 CET René J. V. Bertin wrote: > Thiago Macieira wrote: > > It doesn't, because the debug information is not loaded in the first > > place. > > When using readelf, note how the "A" flag is missing for those sections. > > So it has to skip certain, possibly consi

Re: [Interest] building Qt 5.9 on Linux - clang or GCC?

2017-12-18 Thread Allan Sandfeld Jensen
On Montag, 18. Dezember 2017 15:38:20 CET René J.V. Bertin wrote: > Hi, > > Not to start a flame war, but are there clear differences between building > Qt (on Linux) with clang (5.0) vs. GCC (7.2) that make the one or the other > a better choice for certain domains of application? > > Link-time

  1   2   >