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

2020-04-22 Thread coroberti .
Kind regards, Robert Iakobashvili On Wed, Apr 22, 2020 at 6:40 PM coroberti . wrote: > > On Wed, Apr 22, 2020 at 6:35 PM Allan Sandfeld Jensen > wrote: > > > > On Mittwoch, 22. April 2020 17:29:56 CEST coroberti . wrote: > > > On Wed, Apr 22, 2020 at 6:17 PM Thiago

Re: [Interest] Customizing ui/rcc compiler in qmake

2020-04-22 Thread Konstantin Tokarev
21.04.2020, 21:52, "Patrick Stinson" : > Sorry, I meant uic not rcc. > >>  On Apr 21, 2020, at 10:14 AM, Patrick Stinson wrote: >> >>  Is there a way to customize the ui compiler to use a command other than rcc? >> >>  For example, I am trying to set up my pyqt5 project using only qmake and >>

Re: [Interest] Config errors while configuring Qt 5.12.8 LTS on ubuntu

2020-04-22 Thread Ramakanth Kesireddy
Thanks a lot for your mail..It worked after installing all dependencies with apt-get build-dep qt5-default and config clean. However, QtWebegine module is not build. When qmake(using installed default path) is run on QtWebengine directory, it throws below error and no config.log is generated. ub

[Interest] Qt Creator Application Output window

2020-04-22 Thread John Weeks
Using Qt Creator 4.11.1 on Mac OS 10.14.6 with an Address Sanitizer build of our application. As y'all may know, if you hit a problem in an Address Sanitizer build, the output from AS can be quite extensive. But very useful! Unfortunately, in the environment summarized above, the Application Ou

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

2020-04-22 Thread coroberti .
On Wed, Apr 22, 2020 at 6:35 PM Allan Sandfeld Jensen wrote: > > 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 defi

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] Crash when signal fires

2020-04-22 Thread Ben Haller via Interest
> On Apr 22, 2020, at 11:19 AM, Thiago Macieira > wrote: > > On Tuesday, 21 April 2020 17:09:45 PDT Ben Haller via Interest wrote: >> Unfortunately, I’m on macOS 10.15.3 and Valgrind is not there yet (I think >> at present they have “preliminary” support for macOS 10.13). > > Then install a Li

Re: [Interest] Crash when signal fires

2020-04-22 Thread Ben Haller via Interest
> On Apr 22, 2020, at 11:17 AM, Thiago Macieira > wrote: > > On Tuesday, 21 April 2020 16:44:19 PDT Ben Haller via Interest wrote: >>connect(qApp, &QApplication::focusChanged, [this]() { >> updateUIEnabling(); }); > > Your object probably outlived QApplication. Other way around, right?

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

2020-04-22 Thread coroberti .
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 -= -arch:AVX -arch:AVX2 > > > > to ensure that compilation by QtCreator with Qt-

Re: [Interest] Crash when signal fires

2020-04-22 Thread Thiago Macieira
On Tuesday, 21 April 2020 17:09:45 PDT Ben Haller via Interest wrote: > Unfortunately, I’m on macOS 10.15.3 and Valgrind is not there yet (I think > at present they have “preliminary” support for macOS 10.13). Then install a Linux VM and use Valgrind there. Valgrind is useful enough to warrant

Re: [Interest] Crash when signal fires

2020-04-22 Thread Thiago Macieira
On Tuesday, 21 April 2020 16:44:19 PDT Ben Haller via Interest wrote: > connect(qApp, &QApplication::focusChanged, [this]() { > updateUIEnabling(); }); Your object probably outlived QApplication. Add a third argument of "this" to the connect() call. -- Thiago Macieira - thiago.macieira (AT)

Re: [Interest] Config errors while configuring Qt 5.12.8 LTS on ubuntu

2020-04-22 Thread Thiago Macieira
On Tuesday, 21 April 2020 10:29:19 PDT Ramakanth Kesireddy wrote: > ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && > features.xkbcommon && libs.xcb' failed. > > ERROR: Feature 'system-freetype' was enabled, but the pre-condition > 'features.freetype && libs.freetype' f

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

2020-04-22 Thread Thiago Macieira
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 -= -arch:AVX -arch:AVX2 > > to ensure that compilation by QtCreator with Qt-5.14-MSVC Windows > will not compile with such optimization flags even i

Re: [Interest] Customizing ui/rcc compiler in qmake

2020-04-22 Thread Patrick Stinson
For the record, this seems to have helped: win32 { SIP_PLATFORM = WS_WIN } macx { SIP_PLATFORM = WS_MACX } linux-g++ { SIP_PLATFORM = WS_LINUX } # sip compiler sip_compiler.input = SIP_SOURCE sip_compiler.output = sipAPI${QMAKE_FILE_BASE}.h sip${QMAKE_FILE_BASE}part0.cpp sip${QMAKE_

Re: [Interest] How to get icon theme?

2020-04-22 Thread Matthew Woehlke
On 21/04/2020 14.57, Matthew Woehlke wrote: How do I determine what icon theme my application is using? QIcon::themeName() just returns an empty string. (But QIcon::fallbackThemeName() says "breeze"!) I am actually using "breeze-dark", and if I don't do anything, I get icons from that theme.