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

2022-04-01 Thread Sérgio Martins via Interest
need to manually disconnect all signals/slots for deleteLater() to work? We have a mix of new style connects and old style connects? Is that messing with deleteLater()? One situation I've came across in the past was: https://bugreports.qt.io/browse/QTBUG-83030 Regards, -- Sérgio Martins | s

Re: [Interest] QtQuick OpenGL support in Qt 6.2

2022-01-05 Thread Sérgio Martins via Interest
to set so that QtQuick application works with openGL ES2.x seamlessly? Yes, Qt 6 still supports OpenGL / EGLFS. Call QQuickWindow::setGraphicsApi() if needed. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel

Re: [Interest] Qt 5.15, PySide2, QWidgets not refreshing on Change

2021-06-30 Thread Sérgio Martins via Interest
were use to generate each environment on each respective system. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts

Re: [Interest] Dedicated GPU for Qt 5.15.3 QtQuick2

2021-06-30 Thread Sérgio Martins via Interest
, QtQuick2 doesn't require a discrete graphics card and works well on most iGPUs I've seen in laptops/desktops. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB

Re: [Interest] The willy-nilly deletion of convenience, methods

2021-03-23 Thread Sérgio Martins
On Tue, Mar 23, 2021 at 6:23 PM Maurice Kalinowski wrote: > > > > > Not all deprecations are bad. However, I still maintain that *some* of the > > Qt > > 6 changes are problematic. Also, TBH, I think the real issue is less that > > Qt 6 > > made changes, and more that Qt 5 support got pulled

Re: [Interest] The willy-nilly deletion of convenience methods

2021-03-21 Thread Sérgio Martins
> On Sun, Mar 21, 2021 at 9:28 PM Thiago Macieira > wrote: > > On Sunday, 21 March 2021 12:40:02 PDT Thorsten Glaser wrote: > > You misunderstand. > > > > I need to use the KDE Wallet API. This involves doing a Qt application > > and other fancy stuff. The CLI program needs $DISPLAY set and

Re: [Interest] Qt Widgets on Windows: set parent window, but NOT on top?

2020-11-24 Thread Sérgio Martins via Interest
rentWidget(), while the "keep on top" comes from QWindow::transientParent(). Since you only want the former, try setting a null transient parent: secondWindow->windowHandle()->setTransientParent(nullptr); And let's hope it doesn't unset the parentWidget Regards, -- Sé

Re: [Interest] Suppress titlebar of dock widget?

2020-09-08 Thread Sérgio Martins via Interest
can't. QDockWidget::setTitleBarWidget() sounds good for you, as long as you never float it, as that brings other problems. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1

Re: [Interest] What is this list all about anyway?

2020-07-16 Thread Sérgio Martins
On Thu, Jul 16, 2020 at 9:05 AM Julien Cugnière wrote: > > Le jeu. 16 juil. 2020 à 08:08, Nuno Santos a > écrit : > > I believe that this individual brings nothing but noise to this table and > > should be removed from the list. How many people here think the same? > > > > If the community

Re: [Interest] Gold linker configuration in Qt 5

2020-07-02 Thread Sérgio Martins via Interest
by default in newer llvm ldd was the fastest Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-11 Thread Sérgio Martins
> Windows Vista. > > https://www.copperspice.com/docs/cs_overview/supported-platforms.html > > You cannot force customers to "upgrade" but you can force them to leave. So their systems are too critical to update software but a port to CopperSpice is fine ? All the ex

Re: [Interest] Windows 7 support will be dropped in Qt 6

2020-06-11 Thread Sérgio Martins
On Thu, Jun 11, 2020 at 1:42 PM Oliver Wolff wrote: > > - We can focus our Windows resources on bug fixes and new > functionality instead of maintaining this "legacy" operating system > - CI resources that are used for Windows 7 tests can be used to > test other configurations Please

Re: [Interest] Wayland QPA in Qt 5.12.8 LTS

2020-05-11 Thread Sérgio Martins via Interest
n you confirm your applications are working when setting the QPA backend on the environment (QT_QPA_PLATFORM)? What did you set it to? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products -- Sérgio Martins | sergio.mart...@kdab.com | Senior

Re: [Interest] How to get icon theme?

2020-04-23 Thread Sérgio Martins via Interest
you. When it comes to theme, I usually use the source, start from https://code.woboq.org/qt5/qtbase/src/gui/image/qiconloader.cpp.html#_ZN11QIconLoader17ensureInitializedEv dig your way to an answer Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Da

Re: [Interest] heads up - ksplashqml crash

2019-10-07 Thread Sérgio Martins
On Sat, Oct 5, 2019 at 11:22 PM Roland Hughes wrote: > > Just in case this is deeper than the ksplashqml. > > https://bugs.kde.org/show_bug.cgi?id=408904 > > Don't know if it is specific to KDE or deeper within Qt. Appears to > happen with nvidia-340 driver but doesn't happen with

Re: [Interest] Click and hold on close button

2019-08-28 Thread Sérgio Martins via Interest
user that it behaves like notepad and 99% of other Windows applications. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C+

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

2019-08-12 Thread Sérgio Martins via Interest
On 2019-08-12 09:18, René J. V. Bertin wrote: Sérgio Martins wrote: I only know of the LTO problem when building Qt with clang (closed as WONTFIX in both Qt and Clang trackers IIRC) The problem with the bootstrap static library not being recognised as such, despite having been created

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Sérgio Martins via Interest
*subContext = QQmlEngine::contextForObject(myQuickWidget.rootObject()) That should be a subContext already, different from the engine->rootContext() Regards, Sergio On Jul 17, 2019, at 1:35 AM, Sérgio Martins wrote: On 2019-07-17 10:15, Patrick Stinson wrote: Hello! Surely there must be a

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Sérgio Martins via Interest
patch to add to QQuickWidget's API. [1] https://code.woboq.org/qt5/qtdeclarative/src/quickwidgets/qquickwidget.cpp.html#1049 On Jul 17, 2019, at 1:35 AM, Sérgio Martins wrote: On 2019-07-17 10:15, Patrick Stinson wrote: Hello! Surely there must be a way to set a context property

Re: [Interest] How to set a non-global context property for a single QQmlComponent?

2019-07-17 Thread Sérgio Martins via Interest
QQmlContext via this constructor [1], and then pass it to QQmlComponent::create() [1] - https://doc.qt.io/qt-5/qqmlcontext.html#QQmlContext-1 Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563

Re: [Interest] Unable to build Qt 5.12 on Ubuntu 14.04

2019-03-20 Thread Sérgio Martins via Interest
ll supported platforms. The minimal required version now is 0.5.0. " [1] - https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.12.1/?h=v5.12.1 -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel:

Re: [Interest] Confused about High-DPI icons...

2019-03-13 Thread Sérgio Martins via Interest
) Has anyone gotten this to work? Am I doing something wrong? Am I misreading the documentation? Do you have: QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software En

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

2018-11-08 Thread Sérgio Martins
On Wed, Nov 7, 2018 at 12:14 PM René J.V. Bertin wrote: > > On Wednesday November 07 2018 11:13:29 Sérgio Martins wrote: > > > Can you share a link to a LLVM or Qt bug report where you're expecting > > improvements ? > > It was on this mailing list. > > I haven't

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

2018-11-07 Thread Sérgio Martins
On Mon, Nov 5, 2018 at 11:03 AM 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)? Can you share a link to a LLVM or Qt bug report

Re: [Interest] How to inspect a Qt Application memory usage?

2018-10-22 Thread Sérgio Martins via Interest
is working properly on macOS (it comes with valgrind). Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts

Re: [Interest] proper (silent) exit in response to SIGHUP?

2018-10-15 Thread Sérgio Martins via Interest
d regardless of event loop: https://code.woboq.org/qt5/qtbase/src/corelib/thread/qthread_unix.cpp.html#342 -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB

Re: [Interest] App crashing because of ImageProvider when exiting

2018-07-25 Thread Sérgio Martins via Interest
an-Michaël. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts On 2018-07-25 11:59, Nuno Santos wrote: Jean, This i

Re: [Interest] Event inspection after delivery

2018-07-22 Thread Sérgio Martins
On Sun, Jul 22, 2018 at 11:26 AM, Konstantin Shegunov wrote: > Hello, > Is there any way to inspect an event that was delivered, just after the > fact? Looking at the source it seems the only way to do this is to have > QObject::event or QCoreApplication::notify overridden, is that correct? > >

Re: [Interest] clazy - why signals shouldn't be const?

2018-07-09 Thread Sérgio Martins via Interest
from const methods (and a signal implies state was changed). If it doesn't bother you then you can disable the check. But I'll remove it from the default group, make it opt-in and update the readme. As you're not the first one to ask. Regards, -- Sérgio Martins | sergio.mart...@kdab.com

Re: [Interest] window embedded standard 7e (wes7e) and QT5 applications

2018-06-28 Thread Sérgio Martins via Interest
edded Standard is much more similar to the regular Windows 7 desktop than it is to Embedded Compact, so don't compare the two. The former might even work with Qt 5.11. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Gro

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Sérgio Martins
On Tue, May 22, 2018 at 3:15 PM, Jason H wrote: > (...) > Admittedly I don't understand the nuances of QPixmap. But I know working with > a QImage should not require a windowing server. Where did you see QImage needs a windowing server ? Which QPA plugin are you using for

Re: [Interest] KDE's qqc2-desktop-style

2018-03-07 Thread Sérgio Martins
people use it more. Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer Klarälvdalens Datakonsult AB, a KDAB Group company Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - The Qt, C++ and OpenGL Experts __

Re: [Interest] Building Qt 5.10

2017-12-24 Thread Sérgio Martins
On Sun, Dec 24, 2017 at 6:39 AM, Igor Mironchik wrote: > > > On 24.12.2017 14:43, Thiago Macieira wrote: >> >> On domingo, 24 de dezembro de 2017 07:55:34 -02 Igor Mironchik wrote: >>> >>> Hello, >>> >>> Does anybody know if -freetype argument works in ./configure on

Re: [Interest] What ever happened to QOptional?

2017-12-20 Thread Sérgio Martins
> > Does anyone know what the status is? Have plans to have one been abandoned? https://codereview.qt-project.org/#/c/211143/ Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Interest Digest Wiki instructions for PI cross compile do not work for PostgreSQL support

2017-10-19 Thread Sérgio Martins
On Thu, Oct 19, 2017 at 1:43 PM, Roland Hughes wrote: > Scroll down and watch the video. QML is an 800 lb gorilla trying to ride in > a 2 cylinder car. > >

Re: [Interest] Calling QT Class method from pthread thread

2017-10-04 Thread Sérgio Martins
On Wed, Oct 4, 2017 at 12:08 PM, Gonzalo Aguilar Delgado wrote: > Hello, > > I'm facing a problem that don't know how to tackle. I created a library that > runs on C. It's based on callbacks and it seems to work in other projects > well. Hi, last time we spoke you

Re: [Interest] QTBUG-39147 -- "Don't raise inactive windows when showing a tooltip" / Progress?

2017-07-17 Thread Sérgio Martins
Hi, On Mon, Jul 17, 2017 at 9:34 PM, Phil Weinstein wrote: > (I don't want to burden the bug report with this query. Sorry if this isn't > the ideal place to ask this question). The bug-report and the codereview is probably a better place than Interest. > I see that a fix to

Re: [Interest] Is _GLIBCXX_USE_CXX11_ABI=0 defined in pre-build versions of Qt?

2017-06-22 Thread Sérgio Martins
On Thu, Jun 22, 2017 at 11:58 AM, Oleksiy Balabay wrote: > Gcc ABI was significantly changed between 4.x and 5.x. If you try to link > application with third-party library that was compiled with an older version > of GCC then you get linker errors about undefined

Re: [Interest] Another query on GTK platform theme/style

2017-04-17 Thread Sérgio Martins
On Mon, Apr 17, 2017 at 5:43 PM, Dan Allen <d...@jerber.co.uk> wrote: > I believe the platform theme is being enabled. However, it doesn't look > like the style is. There's no gtk3 style. Regards, Sérgio Martins ___ Interest mailing list

Re: [Interest] How do you want to select exactly C++11 with GCC 6+?

2017-03-09 Thread Sérgio Martins
ot through CONFIG. Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [cfe-dev] The QtReslot Clang plugin

2017-02-15 Thread Sérgio Martins
able of making functions "virtual" without using the virtual keyword. Just for fun, can you run your plugin on clazy's unit-tests (clazy/tests/old-style-connect/*.cpp) and compared them to *fixed.cpp.expected, to see if it converted the con

Re: [Interest] Beautifier for QML

2017-02-08 Thread Sérgio Martins
They'll come up with another excuse once you fix the styling problem. Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Reduce band-with usage while cloning qt

2017-02-08 Thread Sérgio Martins
; clone' ? I think it worth an additional comman-line argument for > init-repository, Qt's git history is really big. Do you really need all Qt modules ? The way to save most bandwidth would be to clone qtbase, qtdeclarative and whatever you need dire

Re: [Interest] QML lint

2017-01-25 Thread Sérgio Martins
tyle. Is there any way to check > indentations, spaces, semicolons, variable names etc? > That's not possible. qmllint will only tell you if the syntax is correct or not. Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org htt

Re: [Interest] Qt5: Can tooltip popups be prevented from raising the window?

2016-11-21 Thread Sérgio Martins
On Mon, Nov 21, 2016 at 6:09 PM, Phil Weinstein wrote: > This is apparently a change from Qt4 to Qt5. (We're using Qt 5.5.1). When > hovering over a GUI control having a Tooltip, at the moment the Tooltip is > shown, the window containing that control is RAISED. This is very >

Re: [Interest] Input method support in Qt 5

2016-10-24 Thread Sérgio Martins
On Mon, Oct 17, 2016 at 11:45 AM, Dominik Wezel wrote: > Hi > > I had to upgrade to KDE 5 recently. One of the first things I immediately > noticed was that my key composition table was no longer working. In earlier > versions, I managed to force Qt and GTK to use XIM,

Re: [Interest] GStreamer

2016-10-19 Thread Sérgio Martins
On Wed, Oct 19, 2016 at 7:00 AM, Igor Mironchik <igor.mironc...@gmail.com> wrote: > Hello, > > Does Qt plan to move Multimedia on Linux to GStreamer 1.0? The official Qt builds will use GStreamer starting from Qt 5.8. If you build yourself then it's available since 5.5. Regards,

Re: [Interest] Font rendering depending on the QPA plugin?

2016-10-07 Thread Sérgio Martins
nder the same as xcb+fontconfig ? Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Problems with Clang 3.9 and Qt 5.8 preBeta

2016-10-02 Thread Sérgio Martins
Stuff about Clang and that it made some > progress on Windows. Thats the only reason I keep looking to make my > daily MSVC usage a little easier in the long run. clang is just a compiler, your apps will still be linked against the msvc C++ runtime. Not sure how it will make your life easier.

[Interest] What don't you like about Qt?

2016-09-17 Thread Sérgio Martins
automate this step) - FUD around licensing Please state your top ones, even if it was already stated by someone else, so we have an idea about which ones matter more. Regards, Sérgio Martins ___ Interest mailing list Interest@qt-project.org http://lists.qt