[Interest] Configuring git checkout/build to skip modules

2024-12-03 Thread Adam Light
Hi I'm trying to check out from Git and build only the minimum subset of modules that I need, but I'm not able to get this working as I expect. I'm following the instructions at https://doc.qt.io/qt-6/configure-options.html, and using the 6.8 branch. This is on Windows, using a Visual Studio comma

[Interest] OpenGL with Qt6 on Windows

2023-07-27 Thread Adam Light
Hi all I'm trying to get some tests of our application running on a GitHub actions runner with Windows Server 2022 as the OS. If I use a version of our application with Qt 5.12, the application starts correctly. This Qt 5.12 was self-built using this configure command: c:\qtbuild512\qt\configure

Re: [Interest] MSVC not-the-latest: are you using it? why?

2023-01-25 Thread Adam Light
On Tue, Jan 24, 2023 at 4:41 PM Thiago Macieira wrote: > > Ah, interesting. I'd completely forgotten Visual Studio is a paid product > (who > had the bright idea of charging for the ability to develop software for a > given OS? Don't they want to enrich said OS with more software?). I only > use

Re: [Interest] MSVC not-the-latest: are you using it? why?

2023-01-24 Thread Adam Light
On Mon, Jan 23, 2023 at 3:06 PM Thiago Macieira wrote: > But on Windows and on macOS, the compiler updates are disconnected from > the OS > version. Hence the question: if you can install compiler version Y using > the > same mechanism you installed version X, why won't you? > > Outside of inerti

[Interest] Using AddressSanitizer with Qt on Windows

2022-02-21 Thread Adam Light
Has anyone been able to successfully run/test a Qt based application built with AddressSanitizer enabled on Windows? I have a 64-bit Qt 6.2.4 build that I built from git using MS Visual Studio 2022 (updated in the last couple of weeks). I've tried building our application, as well as a couple Qt ex

Re: [Interest] License for Qt6 QtMultimedia module (LGPL?)

2022-02-15 Thread Adam Light
On Tue, Feb 15, 2022 at 10:20 AM Alexey Edelev wrote: > Shadertools module provides an executable that is used by multimedia at > build time only. So there is no runtime dependencies between qtmultimedia > and shadertools, so that's the key, I guess. > OK, that makes sense. Thanks. Adam ___

[Interest] License for Qt6 QtMultimedia module (LGPL?)

2022-02-15 Thread Adam Light
At https://doc.qt.io/qt-6/qtmultimedia-index.html, the Qt Multimedia module is listed as being available under these licenses: * commercial * LGPL, v3 * GPL, v2 In a git checkout of the 6.2 branch, .gitmodules contains this: [submodule "qtmultimedia"] depends = qtbase qtshadertools recommends = qt

Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

2021-10-25 Thread Adam Light
On Mon, Oct 25, 2021 at 9:40 AM David M. Cotter wrote: > in the documentation here > , it > indicates i can get a message when the menu bar starts to be browsed, and > another when the browsing is completed. > > this is *exactly* what i

Re: [Interest] Security message when I download Qt Creator?

2021-02-24 Thread Adam Light
On Wed, Feb 24, 2021 at 10:07 AM John Weeks wrote: > I just downloaded the latest Qt Creator (I keep hoping a new update will > fix the Application Output pane's buffering problem). Chrome on Mac OS > 10.14.6 wouldn't download it because "the file cannot be downloaded > securely". Is this a Chrom

Re: [Interest] QML app macOS dedicated graphic card issue

2021-02-24 Thread Adam Light
On Wed, Feb 24, 2021 at 3:25 AM Giuseppe D'Angelo via Interest < interest@qt-project.org> wrote: > Hi, > > Il 24/02/21 11:55, Alexander Dyagilev ha scritto: > > "as soon as I start it my mac switches to dedicated nvidia graphic card > > from item integrated. > > which seems like unnecessary." > >

Re: [Interest] QtCreator annoying message

2021-02-16 Thread Adam Light
On Tue, Feb 16, 2021 at 7:12 AM Alexander Dyagilev wrote: > I always appears after i had to restart Qt Creator. > > I had to restrt it due to the following reasons: > > 1) It stops parsing c++ code for opened files so i can't use IDE's C++ > support > > 2) > > ... > > I can't think of another rea

Re: [Interest] Generate pdb for qmake.exe on Windows

2020-12-15 Thread Adam Light
On Fri, Dec 11, 2020 at 9:19 AM Joerg Bornemann wrote: > On 12/11/20 5:15 PM, Adam Light wrote: > > > > Is it possible to build Qt in such a way that debugging symbols > for > > > qmake itself are generated? > > > > Not out of the box. Edit

Re: [Interest] Generate pdb for qmake.exe on Windows

2020-12-11 Thread Adam Light
On Fri, Dec 11, 2020 at 7:46 AM Joerg Bornemann wrote: > On 12/11/20 4:40 PM, Adam Light wrote: > > > Is it possible to build Qt in such a way that debugging symbols for > > qmake itself are generated? > > Not out of the box. Edit qmake/Makefile in your build dire

[Interest] Generate pdb for qmake.exe on Windows

2020-12-11 Thread Adam Light
I'm building Qt 5.12.11 myself on Windows (VS 2017) using the following configure command: c:\qtbuild512\qt\configure -confirm-license -make-tool jom -debug-and-release -force-debug-info -opensource -gui -widgets -no-qml-debug -skip qt3d -skip qtwebengine -skip qtwebview -nomake examples -nomake te

Re: [Interest] Three-file modules vs. moc

2020-08-27 Thread Adam Light
On Thu, Aug 27, 2020 at 5:43 AM Bernhard Lindner < priv...@bernhard-lindner.de> wrote: > > You might also use a custom extra compiler -- that still invokes moc, > > but for each foo.h also tells moc to include foo.inl, bar.h -> bar.inl, > > and so on... > > Hm, I see. Has something like that been

Re: [Interest] Tracking down a macOS drawing bug

2020-06-19 Thread Adam Light
On Tue, Jun 16, 2020 at 4:07 PM Adam Light wrote: > We recently discovered a bug in our application that uses Qt 5.12.8 and > we're having a hard time figuring out what might be going wrong. This is in > a subclass of QPlainTextEdit. > > For what it's worth, Qt 5.12.9

[Interest] Tracking down a macOS drawing bug

2020-06-16 Thread Adam Light
We recently discovered a bug in our application that uses Qt 5.12.8 and we're having a hard time figuring out what might be going wrong. This is in a subclass of QPlainTextEdit. The bug presents in the following way: If you have a line of text selected, such as "abcd;abcd;abcd;abcd;", and use our

Re: [Interest] how to get 3 pixel focus ring?

2020-06-10 Thread Adam Light
On Tue, Jun 9, 2020 at 11:02 AM David M. Cotter wrote: > ONLY around the lineEdit (search box, working fine on mac), the Tree view, > or the Table view. > > these are the only three places that are the targets of the keyboard > > if you run my example project, you'll see things work fine for line

Re: [Interest] how to get 3 pixel focus ring?

2020-06-09 Thread Adam Light
On Sun, Jun 7, 2020 at 2:21 PM David M. Cotter wrote: > i have an example project (see below), that tries 6 different > implementations, attempts to make the focus ring 3 pix wide. None of them > work on windows, and only one of them PARTIALLY works on mac. What i want > is the style you get arou

Re: [Interest] how to get 3 pixel focus ring?

2020-06-08 Thread Adam Light
On Sun, Jun 7, 2020 at 2:21 PM David M. Cotter wrote: > i have an example project (see below), that tries 6 different > implementations, attempts to make the focus ring 3 pix wide. None of them > work on windows, and only one of them PARTIALLY works on mac. What i want > is the style you get arou

Re: [Interest] Qt Creator Application Output window

2020-04-30 Thread Adam Light
On Thu, Apr 30, 2020 at 12:52 AM Christian Kandeler < christian.kande...@qt.io> wrote: > On Wed, 29 Apr 2020 14:34:57 -0700 > j...@wavemetrics.com wrote: > > > Maybe I was too specific here. This isn't just a problem with Address > Sanitizer. It is a general problem with the output pane in Qt Crea

Re: [Interest] Tricks to improve moc performance?

2020-01-14 Thread Adam Light
On Mon, Dec 23, 2019 at 2:26 PM Adam Light wrote: > > One idea I had was to combine all files in HEADERS into a single giant .h > file, and then call moc.exe once on that file. The single call to moc.exe > would be executed in a single thread, but it would avoid the need to > re

Re: [Interest] Tricks to improve moc performance?

2019-12-23 Thread Adam Light
On Thu, Dec 5, 2019 at 5:09 PM Adam Light wrote: > > We have almost 600 classes that use Q_OBJECT, so there are a lot of calls > to moc. We probably don't strictly need the Q_OBJECT macro in some of those > classes, but I would prefer not to start removing Q_OBJECT unless

Re: [Interest] Tricks to improve moc performance?

2019-12-10 Thread Adam Light
On Tue, Dec 10, 2019 at 5:09 AM Michael Jackson wrote: > What did you use to collect the sampling data? Our project also > experiences long build times (30 minutes on a 12 Core Xeon machine) using > Qt5. I would like to be able to zero in on some of the issues instead of > guessing at them. > > >

Re: [Interest] Tricks to improve moc performance?

2019-12-09 Thread Adam Light
On Thu, Dec 5, 2019 at 5:09 PM Adam Light wrote: > > Does anyone else have any ideas of how we could change our build to > improve moc performance when Windows decides to be "slow"? Like, for > example, is there any way to have the moc calls run with only a few moc >

Re: [Interest] Tricks to improve moc performance?

2019-12-09 Thread Adam Light
On Fri, Dec 6, 2019 at 6:08 PM Thiago Macieira wrote: > On Friday, 6 December 2019 15:10:41 PST Adam Light wrote: > > > Yes: > https://github.com/qt/qtbase/blob/dev/util/includemocs/includemocs.pl > > > > Thanks. That saved a lot of time. > > > > For wha

Re: [Interest] Tricks to improve moc performance?

2019-12-06 Thread Adam Light
On Fri, Dec 6, 2019 at 9:57 AM Thiago Macieira wrote: > On Friday, 6 December 2019 06:30:36 PST Adam Light wrote: > > Yes, that's definitely on my TODO list, though I don't think it's going > to > > do much to address the current situation in which moc itself is

Re: [Interest] Tricks to improve moc performance?

2019-12-06 Thread Adam Light
On Fri, Dec 6, 2019 at 12:42 AM Uwe Rathmann wrote: > On 12/6/19 2:09 AM, Adam Light wrote: > > > Does anyone else have any ideas of how we could change our build to > > improve moc performance when Windows decides to be "slow"? > > Something you can try is to

[Interest] Tricks to improve moc performance?

2019-12-05 Thread Adam Light
We have several machines running Windows 10 that are quite powerful (eg. 8 or 16 core (16 or 32 thread) processors, lots of RAM, NVMe SSD storage). However, since upgrading to Windows 1903, we have noticed that sometimes the compile time of our large Qt 5.12 based application increases dramatically

Re: [Interest] Qt free software policy

2019-08-21 Thread Adam Light
On Wed, Aug 21, 2019 at 7:17 AM Matthew Woehlke wrote: > On 14/08/2019 16.22, John Weeks wrote: > > We are a small company selling a very large and complex application > which is now based on Qt open source. At the time we first considered > porting to Qt (version 4.3?) the license was very expen

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Adam Light
On Wed, Jul 10, 2019 at 9:17 AM coroberti . wrote: > Adam, > Could you please provide more details about notarization without runtime > hardening by using SDK 10.13? > Specifically, which Xcode version was used and at which Mac OS? > Thanks, > > See https://developer.apple.com/documentation/secur

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-10 Thread Adam Light
On Wed, Jul 10, 2019 at 2:28 AM Elvis Stansvik wrote: > > With "work around" do you mean from the user POV (e.g. somehow > disabling Gatekeeper, or Ctrl+Open, or something else) or from a > developer POV (so, having to notarize)? > > Instead of repeating myself here, please see my comment at http

Re: [Interest] notarizing builds for Mac - enabling hardened runtime

2019-07-09 Thread Adam Light
On Fri, Jun 21, 2019 at 12:13 AM Kai Köhne wrote: > > I understand that the "hardened runtime" enabling happens at codesign time, > so this should arguably be a feature of macdeployqt. It's not there yet > though, > at least according to https://bugreports.qt.io/browse/QTBUG-71291 . If > you're

Re: [Interest] QTabWidget scroll buttons

2019-04-03 Thread Adam Light
On Tue, Mar 26, 2019 at 8:40 AM Murphy, Sean wrote: > > This works for me, and the button is small 16x16. > > > > m_TheTabWidget->setCornerWidget(bp1); > > You know, I saw that function and for some reason switched it > in my head to be talking about the corner cell in a QTableWidget, > n

Re: [Interest] What are you using for continuous integration?

2019-02-13 Thread Adam Light
On Tue, Feb 12, 2019 at 3:05 PM Nuno Santos wrote: > Hi, > > I’m curious about what you Qt heads are using for continuous integration. > > We have been using buildbot on a Linux server and multiple Macintosh and Windows machines as workers for about 9 years. The workers build our Qt based applica

Re: [Interest] Weird sizing in Qt Designer 5.12.0 with hi-res screen

2019-01-23 Thread Adam Light
On Tue, Jan 22, 2019 at 5:52 PM Tony Rietwyk wrote: > Hi Everybody, > > I have recently installed a hi-res screen 3840 x 2160 @ 150% scaling on > my Windows 10 machine. > > I'm not sure if this explains the problem you report, but we've found that Qt does not fully support scale factors that are

Re: [Interest] Struggling with moveEvent()

2018-10-04 Thread Adam Light
On Wed, Oct 3, 2018 at 6:27 AM Murphy, Sean wrote: > > This looks promising - I had never stumbled across QWidgetAction before. > Although now > that you point it out, I've discovered the section of the QMenu > documentation that I > previously skimmed over that mentions it! > > Is the code in yo

[Interest] Using NSTitlebarAccessoryViewController in a Qt window

2018-09-04 Thread Adam Light
Hi I'm trying to add a NSTitlebarAccessoryViewController to the title bar of a Qt window, similar to the example at https://github.com/msorvig/qt-macos-nswindow-config (look for "Add addTitlebarAccessoryViewController"). I've tried the example application given at the link above with Qt 5.9.6 on

Re: [Interest] minimum macOS runtime version for Qt 5.9+ (Jake Petroules)

2017-12-02 Thread Adam Light
On Thu, Nov 30, 2017 at 5:10 PM, Steve Schilz wrote: > > Why do people run on older deployment targets? Inertia of large > projects! Our video module on OSX was written 7 years ago to support OSX > 10.7 using QtKit, which was deprecated at the time. While we have been > aware of this for sever

[Interest] Using QAbstractScrollArea scrollBarWidget and cornerWidget on Macintosh

2017-10-23 Thread Adam Light
Hi We use scroll bar widgets and corner widgets in several QAbstractScrollArea subclasses in our application. We set the scroll bar policy for the corresponding scroll bars to AlwaysOn. However, on Macintosh, the OS does not typically show scroll bars, and this means that our scroll bar and corner

Re: [Interest] Compiling a 32-bit application on Macintosh with Qt 5.9 fails

2017-07-28 Thread Adam Light
On Fri, Jul 28, 2017 at 8:36 AM, Thiago Macieira wrote: > On Friday, 28 July 2017 06:42:26 PDT Adam Light wrote: > > So if this is a valid reason, what's the trick to getting a 32-bit > > application to compile? Or is this just a bug? > > Sounds like just a bug bec

Re: [Interest] Compiling a 32-bit application on Macintosh with Qt 5.9 fails

2017-07-28 Thread Adam Light
On Thu, Jul 27, 2017 at 12:43 PM, Thiago Macieira wrote: > On Thursday, 27 July 2017 11:28:28 PDT Adam Light wrote: > > Our application can load plugins that are written by users. Our > application > > has only had a 64-bit Macintosh version available for 366 days, so most >

Re: [Interest] Compiling a 32-bit application on Macintosh with Qt 5.9 fails

2017-07-27 Thread Adam Light
On Thu, Jul 27, 2017 at 9:13 AM, Thiago Macieira wrote: > On quinta-feira, 27 de julho de 2017 09:00:38 PDT Adam Light wrote: > > I'm not able to successfully compile a project (even an essentially empty > > project created with the Qt Creator wizard) for 32-bit on Macintos

[Interest] Compiling a 32-bit application on Macintosh with Qt 5.9 fails

2017-07-27 Thread Adam Light
I'm not able to successfully compile a project (even an essentially empty project created with the Qt Creator wizard) for 32-bit on Macintosh using Qt 5.9.2. It looks like the problem is due to the "-arch x86_64" flag being improperly inserted into the compiler command. Here's the full command for

Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-25 Thread Adam Light
On Wed, Feb 15, 2017 at 9:28 AM, Gibbs, Matt wrote: > Hi All, > > I’m working on a Qt-based project to display rapidly updating information > from a control system. I want to display hundreds of signals, each > updating at about 10 Hz. As a performance test, I’ve thrown 500 Labels in > a grid l

Re: [Interest] How to be notified when widget is moved to another screen?

2016-10-21 Thread Adam Light
On Fri, Oct 21, 2016 at 12:47 AM, Elvis Stansvik wrote: > 2016-10-21 9:22 GMT+02:00 Elvis Stansvik : > > Using > > > > QApplication::desktop()->screenNumber(widget); > > > > it's possible to get the screen number of the screen where the widget > > is mostly visible. > > > > But how can I be n

Re: [Interest] FUD around licensing (From What don't you like about Qt?)

2016-10-10 Thread Adam Light
On Mon, Oct 10, 2016 at 6:18 AM, Giuseppe D'Angelo < giuseppe.dang...@kdab.com> wrote: > Hi, > > On 10/10/16 10:22, Carel Combrink wrote: > >> The very first comment on the youtube video: >> /"The latest versions do not seem to be free/" - iddn >> >> I really hope the free edition of such a great

[Interest] Prevent tabbing of Qt application on macOS Sierra

2016-09-26 Thread Adam Light
macOS Sierra added an automatic tabbing mechanism that is enabled for applications by default. This behavior is entirely inappropriate for our Qt 5.6 based application, and I'd like to be able to have my application opt-out of this behavior. https://developer.apple.com/library/content/releasenotes

Re: [Interest] Depth-first filtering for QAbstractProxyModel

2016-09-07 Thread Adam Light
On Tue, Sep 6, 2016 at 12:20 PM, Thompson, Adam B. wrote: > > My question: can anyone provide some tips on how to properly subclass > QAbstractProxyModel so I can provide some custom depth-first filtering > capabilities? (Sorting isn’t really necessary at the moment, really just > filtering.) > >

Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-06-06 Thread Adam Light
On Tue, May 31, 2016 at 1:06 AM, René J.V. wrote: > On Monday May 30 2016 15:22:50 Adam Light wrote: > > Hi, > > >To address this in our application, we use a QProxyStyle subclass in which > >we reimplement layoutSpacing on Macintosh like so: > > >

Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-05-30 Thread Adam Light
On Mon, May 30, 2016 at 12:39 AM, René J. V. wrote: > René J.V. Bertin wrote: > > Hi, > > > > >> In our application, we have the following code in a > >> QApplication::eventFilter reimplementation for this exact reason: > >> > >> case QEvent::ChildAdded: > > ... > >> theChildWidget->setAttribute(

Re: [Interest] widget rendering (alignment, sizing) issues on OS X

2016-05-25 Thread Adam Light
On Tue, May 24, 2016 at 11:40 AM, René J. V. wrote: > René J.V. Bertin wrote: > > I think I posted the question below to the wrong list. > > Has anyone ever noticed widgets not being aligned correctly because of > sizing > issues on OS X, outside of KDE applications, as shown in the link below? >

[Interest] Qt 5.6.0 online installer does not provide VS runtime libraries

2016-05-16 Thread Adam Light
On a Windows 10 virtual machine that is essentially a clean install of Windows 10, I went to http://www.qt.io/download-open-source/ and downloaded the online installer ( http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe). I then executed the application and

[Interest] Closing Jira bug reports

2016-03-31 Thread Adam Light
What's the protocol for getting an issue marked as closed that clearly should be closed. My immediate example is https://bugreports.qt.io/browse/QTBUG-31474 but it's not uncommon that I'm browsing issues and see a report that needs to be closed but I don't have the permission to do so. Sometimes le

[Interest] Creating a QCursor from a pixmap

2016-03-21 Thread Adam Light
Is there a way to create a QCursor from a pixmap that looks good on both regular and high DPI displays? I can set the devicePixelRatio of the pixmap that I pass to the QCursor constructor, but I don't necessarily know which screen the cursor will be displayed on (and it could move from one to anoth

[Interest] Crashes related to QAccessibleWidget on OSX

2016-01-03 Thread Adam Light
We've had a few crash reports from users of our application that seem to be caused by QAccessibleWidget. I've experienced it myself once or twice as well. In all cases it's happened on OSX, but some reports are on 10.10 and some on 10.11. We've seen the crash with both Qt 5.5.1 and 5.6 beta. Here

Re: [Interest] qmake.exe -query gets stuck

2015-12-18 Thread Adam Light
On Fri, Dec 18, 2015 at 2:02 AM, Joerg Bornemann < joerg.bornem...@theqtcompany.com> wrote: > On 17-Dec-15 23:14, q...@supradigital.org wrote: > > A colleague of mine saw something similar on his Windows 10 machine last >>> week. He would double click on the Creator Icon (version 3.5.1 I >>> belie

Re: [Interest] qmake.exe -query gets stuck

2015-12-17 Thread Adam Light
On Wed, Dec 16, 2015 at 3:55 PM, wrote: > Hello there, > > [System Windows7 64bit] > > I just tried to install Qt(32bit) for a less knowledgable person and > utterly failed. Installation went successfull. At the end the installer > offered to start QtCreator for us. We said sure and it did. Howev

Re: [Interest] Changes in Qt 5.6 on Windows HiDPI

2015-11-16 Thread Adam Light
On Thu, Nov 12, 2015 at 3:49 PM, Adam Light wrote: > We've just started testing our application using Qt 5.6 (self built from > Nov. 10 git checkout). > > It appears that the behavior of QDesktopWidget::logicalDpiX (and Y) has > changed since Qt 5.5. > > We bought a De

Re: [Interest] Changes in Qt 5.6 on Windows HiDPI

2015-11-13 Thread Adam Light
On Fri, Nov 13, 2015 at 1:00 AM, Julius Bullinger < julius.bullin...@asctec.de> wrote: > Hello Adam, > > > > do you use the new environment variables QT_AUTO_SCREEN_SCALE_FACTOR=1 ? > > Additionally, make sure to unset the deprecated QT_DEVICE_PIXEL_RATIO. > > > > You can do this in your shell fo

[Interest] Changes in Qt 5.6 on Windows HiDPI

2015-11-12 Thread Adam Light
We've just started testing our application using Qt 5.6 (self built from Nov. 10 git checkout). It appears that the behavior of QDesktopWidget::logicalDpiX (and Y) has changed since Qt 5.5. We bought a Dell Inspiron 15 laptop with a High DPI display. If I open Control Panel, choose Display, and c

Re: [Interest] Qt 5.5 and accessibility on OSX

2015-10-23 Thread Adam Light
On Fri, Oct 23, 2015 at 1:42 AM, deDietrich Gabriel < gabriel.dedietr...@theqtcompany.com> wrote: > Hi Adam, > > > Can you post your example? We could have a look at it here as well and see > if our measurements are consistent. > > > I don't have a simple example at the moment. I discovered this w

[Interest] Qt 5.5 and accessibility on OSX

2015-10-22 Thread Adam Light
Hi I'm using Qt 5.5.1 on Mac OSX 10.10.5. I noticed my application being slower than expected, so I compiled a release build and ran the application under the Instruments time profiler (using release builds of the Qt libraries). If I'm understanding the data correctly, about 45% of the time is s

Re: [Interest] How are High DPI Icons supposed to work?

2015-09-29 Thread Adam Light
On Tue, Sep 29, 2015 at 1:20 AM, Julius Bullinger < julius.bullin...@asctec.de> wrote: > On Tuesday, 29 September 2015 08:32 Thiago Macieira wrote: > > And QT_DEVICE_PIXEL_RATIO is deprecated -- it will print a qWarning in > Qt 5.6 now. Please don't set it. > > I know about the upcoming changes in

Re: [Interest] High DPI support in QT (Windows)

2015-09-23 Thread Adam Light
On Wed, Sep 23, 2015 at 4:01 AM, Sorvig Morten < morten.sor...@theqtcompany.com> wrote: > Hi, > > Behind the scenes the new 5.6 support is actually a rewrite, where we have > moved the implementation from the platform plugins to QtGui. > > The user-visible changes are the environment variables: >

Re: [Interest] High DPI support in QT (Windows)

2015-09-21 Thread Adam Light
On Fri, Sep 18, 2015 at 1:38 AM, Pavlo Dyachenko wrote: > Hi QT team, I posted a question on the forum about high DPI support but > then was recommended this mailing list instead: > According to documentation here http://doc.qt.io/qt-5/highdpi.html QT > 5.4+ introduces high DPI support. However,

[Interest] Determining if a glyph can be painted for a given character

2015-06-25 Thread Adam Light
Hi Our application has a QPlainTextEdit subclass, and one of its features is that it has an option to display whitespace (such as line endings). One of the whitespace symbols we use is \u21b5 (that's DOWNWARDS ARROW WITH CORNER LEFTWARDS if anyone cares). Our current code reimplements QPlainTextE

Re: [Interest] Unassigned bug report

2015-06-10 Thread Adam Light
In my experience, bugs that start out unassigned never end up getting triaged, and thus fixed (granted, a small sample size). I realize that someone *could* work on a bug that's unassigned. Adam On Tue, Jun 9, 2015 at 6:14 PM, Thiago Macieira wrote: > On Tuesday 09 June 2015 12:49

[Interest] Unassigned bug report

2015-06-09 Thread Adam Light
Hi There's a bug report (https://bugreports.qt.io/browse/QTBUG-46546) that I'm interested in but it is unassigned. I assume that the component chosen had nobody set as the automatic assignee. Could someone with the appropriate permissions assign the bug so it can at least be triaged. Thanks Adam

[Interest] QTBUG-45907: [Mac] Crash when file is dragged onto a QWidget

2015-05-05 Thread Adam Light
I created a bug report for a crash on Macintosh with Qt 5.5 ( https://bugreports.qt.io/browse/QTBUG-45907). When I report a reproducible crash with detailed information, the bug is typically at least marked as accepted pretty quickly. However, in this case, nobody appears to have triaged it yet. I

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-16 Thread Adam Light
John Weeks and I are working on the same application, so don't double count this, but I wanted to clarify: On Wed, Apr 15, 2015 at 4:45 PM, Thiago Macieira wrote: > > 2) use it to catch exceptions and continue execution? > or use it to catch and abort? > > If we catch an uncaught exception

Re: [Interest] QOpenGLWidget and text

2015-04-06 Thread Adam Light
On Sat, Apr 4, 2015 at 2:57 AM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > > >> ... > >> > >> That's the way to draw "over OpenGL" - not with a restricted "drawText" > convenience method which happened to be placed in some random API > (QGLWidget) over a decade ago ;) > > > > The pr

Re: [Interest] [OS X] qmake -spec macx-clang-32 on a 64bit system

2015-03-10 Thread Adam Light
On Tue, Mar 10, 2015 at 6:29 AM, René J.V. wrote: > Hello, > > I am getting strange behaviour from qmake, trying to generate a 32bit > build with it on a 64bit system. qmake in fact seems to ignore the -spec > argument (as long as it's not in error, that is). I get exactly the same > Makefile eve

Re: [Interest] [OS X] 32bit build on 64bit system?

2015-03-09 Thread Adam Light
On Mon, Mar 9, 2015 at 6:14 AM, René J.V. wrote: > Hi, > > Following up on the earlier discussion of 32bit Qt builds. > Is it possible to do a 32bit Qt build on a 64bit system? I just tried to > build Qt 5.4.1 using `configure -platform macx-clang-32`. I did get a 32bit > qmake executable, but th

Re: [Interest] [OSX/iOS] Garbage collection still in place in Qt?

2015-03-04 Thread Adam Light
On Wed, Mar 4, 2015 at 5:36 AM, Sorvig Morten < morten.sor...@theqtcompany.com> wrote: > > This does not prevent applications from using ARC since it can be enabled > per translation unit. We would like to start using ARC internally in Qt as > well, but the requirement to drop 32-bit support may b

Re: [Interest] Deploying Qt to MacOs still...errr, sucks?

2015-02-11 Thread Adam Light
On Wed, Feb 11, 2015 at 6:08 AM, Mike Krus wrote: > Hi all, > > this tool is quite useful: https://github.com/auriamg/macdylibbundler > does the install_name_tool dance for the libs that macdeployqt ignores. > So I run macdeployqt, then dylibbundler > Then I still need a script to handle other pl

[Interest] plugins deployed by macdeployqt

2014-10-15 Thread Adam Light
I'm using a recently built version of Qt 5.4 (from the 5.4 branch) on Mac OSX 10.9.5. I'm using macdeployqt to deploy my application. I'd like to minimize the frameworks and plugins that are deployed to only those that are necessary, but I'm having a hard time figuring out how to do that. If I us

Re: [Interest] QWidget + friends; How to restore properties across sessions?

2014-08-18 Thread Adam Light
[Resending to the list] Mark: On Sat, Aug 16, 2014 at 11:12 AM, Mark Gaiser wrote: > That is roughly the solution i'm looking for. > But i'd like to go one step further. Do you know of some way - without > editing the Qt source itself - to automatically pass each QWidget the > gets constructed

Re: [Interest] Best way to build Qt5 distribution for internal development

2014-08-08 Thread Adam Light
Michael: On Fri, Aug 8, 2014 at 7:39 AM, Michael Jackson wrote: > In the past I have provided my developers with a custom build of Qt 4.8.x > for their VS version (2010, 2012, 2013) all 64 bit versions. This was done > via a combination of a self compile and creating an installer using the Qt >

Re: [Interest] Missing glyphs using Qt 5(.3+?) on Macintosh

2014-08-01 Thread Adam Light
I guess nobody else has run into this, so I've created a bug report at https://bugreports.qt-project.org/browse/QTBUG-40549. Adam On Thu, Jul 31, 2014 at 8:27 AM, Adam Light wrote: > I noticed today that when I build my application using Qt 5.4 from the dev > branch and I try

[Interest] Missing glyphs using Qt 5(.3+?) on Macintosh

2014-07-31 Thread Adam Light
I noticed today that when I build my application using Qt 5.4 from the dev branch and I try to display certain mathematical symbols (say, in a QPlainTextEdit), I get the empty square box glyph instead of the correct symbol glyph. When I build using Qt 4.8.6, I get the correct symbols displayed. I

[Interest] Application build times using Qt4 vs Qt5

2014-07-29 Thread Adam Light
I've noticed that compiling my application takes considerably longer when compiling using Qt5 vs. Qt 4. This is true on Macintosh 10.9 and Windows 7. I'm comparing builds done using the same machine with the same application source code. For example, Macintosh: Qt 4.8.6: Elapsed time: 06:20 Qt 5.4

Re: [Interest] Update QComboBox items on opening the combo box

2014-06-30 Thread Adam Light
On Mon, Jun 30, 2014 at 2:36 AM, André Hartmann wrote: > Hello all, > > I'd like to have a QComboBox with the available serial ports on my > system. Populating the box at program start is easy, but I'd like to > detect USB serial ports that are connected during run time. > > The only think I foun

[Interest] QWindowsMime or replacement in Qt 5

2014-06-03 Thread Adam Light
thout QWindowsMime or the equivalent functionality, it won't be possible to use Qt 5 with our application--not a situation we want to be in. I've pasted below the last I've heard on this situation, from almost 2 years ago. Thanks Adam On segunda-feira, 15 de outubro de 2012 12.15.07, Ad

Re: [Interest] Text not displaying correctly in some cases (Qt 5.3, Mac OSX)

2014-04-29 Thread Adam Light
;m no longer seeing the problem in my application. Adam On Tue, Apr 29, 2014 at 9:16 AM, Adam Light wrote: > Since updating my git checkout of Qt 5.3 a few days ago to the release > branch (I was previously using the stable branch as of early April) and > rebuilding Qt, I noticed that I

[Interest] Text not displaying correctly in some cases (Qt 5.3, Mac OSX)

2014-04-29 Thread Adam Light
Since updating my git checkout of Qt 5.3 a few days ago to the release branch (I was previously using the stable branch as of early April) and rebuilding Qt, I noticed that I sometimes get weird text drawing problems in my application on Mac OSX 10.9.2 but not Windows 7. If I compile my applicatio

[Interest] Qt 4 roadmap

2014-02-19 Thread Adam Light
My company is currently working on a major rewrite of our application using Qt. We started the rewrite about 3 years ago and we are currently using Qt 4.8.5. We have done some testing using Qt 5.2 but we have found (and reported) a number of bugs and regressions, especially on Macintosh (though, to

[Interest] Compiling 32- and 64-bit versions of Qt 5 on Macintosh

2014-01-08 Thread Adam Light
When compiling the Qt 4 libraries using Macintosh 10.6.8, I could pass the"-arch x86_64 -arch x86" flags to configure and the compiled Qt libraries would contain both 32- and 64-bit versions. When compiling Qt 5.2 on the same system, if I use the -arch flag with configure I'm informed that

Re: [Interest] Compilation of Qt 5.2 winextras fails on Windows

2014-01-06 Thread Adam Light
Jürgen: On Mon, Jan 6, 2014 at 10:13 AM, Jürgen Hunold wrote: > > Yes, this seems to be broken. The attached patch comments out the broken > code > and shows where to look closer. > Please file a bug report. > > Thanks. I've filed a bug report at https://bugreports.qt-project.org/browse/QTBUG-35

[Interest] Compilation of Qt 5.2 winextras fails on Windows

2014-01-06 Thread Adam Light
Hi I am trying to build my own version of Qt 5.2 from a Git checkout, but I'm getting compiler errors in the winextras module. I followed the instructions in the"Getting the source code" topic at http://qt-project.org/wiki/Building-Qt-5-from-Git. I'm using Windows 7 64-bit with the VS2008SP1 com

Re: [Interest] Display nicely truncated text in a QLabel

2013-07-22 Thread Adam Light
On Fri, Jul 12, 2013 at 2:06 AM, wrote: > Hi > > I would derive from QLabel, get the length of it (in pixel) with > frameWidth() use QFontMetrics QWidget::fontMetrics () with int > QFontMetrics::width ( const QString & text, int len = -1 ) to get the > length of the text in pixels, check if it fi

[Interest] Where do I submit bugs for qtmacextras

2013-05-10 Thread Adam Light
I can't figure out where the correct place is to submit bugs for the qtmacextras project. I don't see it as a Project option in JIRA nor as a component of the Qt project. It doesn't look like it's in the playground any more so I don't think it belongs in the Qt Playground Projects "project". For w

Re: [Interest] Upgrade to Qt 5 -- pros and cons?

2013-03-22 Thread Adam Light
On Thu, Mar 21, 2013 at 1:41 PM, K. Frank wrote: > Hello List! > > What would be the pros and cons of upgrading from Qt 4 to Qt 5? In > particular, are there any good reasons not to do so? > My company is in the process of porting our large and complicated desktop application, which currently s

[Interest] QMatrix4x4 in Qt 5

2013-01-07 Thread Adam Light
According to http://qt-project.org/doc/qt-5.0/qtgui/qmatrix4x4-compat.html, the QMatrix4x4 class (as well as QMatrix) is deprecated in Qt 5. Is there a suggested replacement? Thanks Adam ___ Interest mailing list Interest@qt-project.org http://lists.qt-p

Re: [Interest] Qt 5 on Mac OS X

2012-12-20 Thread Adam Light
Morten: On Thu, Dec 20, 2012 at 4:09 AM, Sorvig Morten wrote: > Hi, > > Qt 5 aims to be 98% source compatible with Qt 4. Still, changes has been > made to the platform implementation and infrastructure. Not all have been > discussed here, so I figured I'd give a brief rundown. > > The main issue

Re: [Interest] How to #include using Qt 5

2012-10-15 Thread Adam Light
On Mon, Oct 15, 2012 at 12:00 PM, Thiago Macieira wrote: > On segunda-feira, 15 de outubro de 2012 11.35.52, Adam Light wrote: > > I have made my own build of Qt5 and passed the following flags (among > > others) to configure: > > -gui -widgets -qpa cocoa > > > >

[Interest] How to #include using Qt 5

2012-10-15 Thread Adam Light
I have made my own build of Qt5 and passed the following flags (among others) to configure: -gui -widgets -qpa cocoa I have a few source files in my application that use the following #include: #include These files compile without any problems when I use Qt 4.8.3. However, when I try to compile

[Interest] Distributing custom qt build to a group of developers

2012-09-20 Thread Adam Light
My company currently has a Subversion repository for Qt that looks like this: /qtbuild /qt /build /macosx /install /macosx /win32 /win64 The /qt directory contains a git checkout of qt. The /install subdirectories contain the compiled frameworks/dlls for both a debug and rele

Re: [Interest] Subclassing QMacPasteboardMime

2012-05-29 Thread Adam Light
In case anyone else encounters this, I've filed a bug report on this issue at https://bugreports.qt-project.org/browse/QTBUG-25951 On Thu, May 24, 2012 at 1:52 PM, Adam Light wrote: > In my application, I wish to handle tiff clipboard data (of UTI type > public.tiff) differe

[Interest] Subclassing QMacPasteboardMime

2012-05-24 Thread Adam Light
Hi This question applies to Mac OSX. I'm using Qt 4.8.1 on Mac OS 10.6.8. In my application, I wish to handle tiff clipboard data (of UTI type public.tiff) different than the implementation in QMacPasteboardMimeTiff (I don't want the data to pass through a QImage). I have written my own subclass

  1   2   >