On 2024-05-07 21:05, Turtle Creek Software wrote:
TurtleSoft posted on the Interest list earlier about problems we had
with exception handling, and Thiago suggested I post here.
Since the early 90s, our C++ code has had about 10,000 sanity checks
which give an error message with source file &
On 2024-04-28 11:00, Christian Ehrlicher via Development wrote:
Am 26.04.2024 um 22:48 schrieb Henry Skoglund:
On 2024-04-26 21:52, Christian Ehrlicher via Development wrote:
Hello,
I'm currently trying to investigate a painting problem within the
windowsvista / common style:
QImage
On 2024-04-26 21:52, Christian Ehrlicher via Development wrote:
Hello,
I'm currently trying to investigate a painting problem within the
windowsvista / common style:
QImage img(7, 7, QImage::Format_ARGB32_Premultiplied);
QPolygon poly{ QPoint(1, 1), {5, 1}, {3, 5} };
QPainter p();
On 2023-09-16 01:55, Giuseppe D'Angelo via Development wrote:
Wrong mailing list?
Il 16/09/23 01:41, Henry Skoglund ha scritto:
S a;
S b = a.clone();
it seems to work like a charm (6.5.2 on Linux and the Mac. 5.15.2 on
Windows) but my question is if it's kosher?
You class has value
Hi, just got the need to copy a struct so I started doing it the hard
way (i.e. member by member) but on a lark I tried a simple copy from
*this, say like this:
struct S
{
int i;
QString s;
QDate d;
QStringList sl;
S clone() { return *this; }
};
S a;
S b = a.clone();
it
On 2022-10-11 22:04, Thiago Macieira wrote:
...
// This macro can be used to calculate member offsets for types with a non
standard layout. // It uses the fact that offsetof() is allowed to support
those types since C++17 as an optional // feature. All our compilers do
support this, but some
On 2022-10-10 21:27, Thiago Macieira wrote:
...
This situation is annoying either way. With include guards, you will get a
working build, but you may spend some time trying to figure out why the changes
you're making to the headers aren't taking effect. With the pragma, you get
hard build errors
On 2022-08-02 00:07, Laszlo Papp wrote:
#include
#include
#include
class MyMSGEventFilter : public QAbstractNativeEventFilter
{
public:
bool nativeEventFilter(const QByteArray ,
[[maybe_unused]] void *message, long *) override
{
std::cout << eventType.toStdString() <<
On 2021-11-29 17:41, Thiago Macieira wrote:
I'll probably have to report this as a bug, but just in case someone has seen
it before:
$ diff -u qtdiag5 qtdiag6
[...]
Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1200+0+0
Virtual geometry: 5760x1200+0+0 Available:
On 2021-05-26 21:39, Alberto Mardegan wrote:
Hi there!
I'm encountering some sort of memory corruption issue in a library I'm
using, which does not cause a crash, but rather a QSQLite query to
sometimes simply return no results, without errors or warnings.
You can find the valgrind trace
On 2021-04-07 16:11, Volker Hilsheimer wrote:
On 7 Apr 2021, at 15:55, Allan Sandfeld Jensen wrote:
On Mittwoch, 7. April 2021 15:18:10 CEST Giuseppe D'Angelo via Development
wrote:
Il 07/04/21 14:56, Sze Howe Koh ha scritto:
Is it acceptable to remove them during Qt 6's lifetime? Or should
On 2020-07-23 23:09, Ville Voutilainen wrote:
On Fri, 24 Jul 2020 at 00:03, Ville Voutilainen
wrote:
On Thu, 23 Jul 2020 at 23:59, Thiago Macieira wrote:
On Thursday, 23 July 2020 12:34:06 PDT Simon Hausmann wrote:
I think the primary environment where a transition and resulting BC
breakage
On 2020-05-13 23:41, Henry Skoglund wrote:
On 2020-05-13 16:53, Morten Sørvig wrote:
We are indeed planning to addreess high-DPI support for Qt 6. You can
test the implementation on
Qt 5.14+ today by setting
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication
On 2020-05-13 16:53, Morten Sørvig wrote:
We are indeed planning to addreess high-DPI support for Qt 6. You can test the
implementation on
Qt 5.14+ today by setting
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
On 2020-05-12 12:36, Lars Knoll wrote:
...
Leaving things behind simplifies our lives and in the longer term also
our users life. And yes, non unicode encodings are legacy in todays
world. They need to disappear, and most people are working towards
that goal. We can and should do our part.
On 2020-04-23 11:48, List for announcements regarding Qt releases and
development wrote:
We are happy to announce the release of Qt Creator 4.12!
https://www.qt.io/blog/qt-creator-4.12-released
Thank you! I like the new Restart feature, i.e. when you switch Theme,
say from Flat Light to Flat
PM Henry Skoglund <mailto:he...@tungware.se>> wrote:
Hi, just want to thank whoever worked to implement qScopeGuard (in
5.12), it was a perfect gift from heaven today :-)
I'm writing a LOB app with heavy database munging, and want to
show the
user an hourglass cur
Hi, just want to thank whoever worked to implement qScopeGuard (in
5.12), it was a perfect gift from heaven today :-)
I'm writing a LOB app with heavy database munging, and want to show the
user an hourglass cursor while munging/waiting for MS SQLServer.
However my functions have lots of exits
On 2020-01-30 18:09, Olivier Goffart wrote:
On 30/01/20 17:12, Thiago Macieira wrote:
On Thursday, 30 January 2020 03:05:50 PST Olivier Goffart wrote:
$PWD is not the same as the binary dir
(QCoreApplication::applicationDirPath) The later is still searched
while
looking for plugin. (so that
On 2020-01-14 09:02, Kai Köhne wrote:
From: Development On Behalf Of Dmitriy
Purgin
Sent: Tuesday, January 14, 2020 8:46 AM
To: Thiago Macieira
Cc: Qt development mailing list
Subject: Re: [Development] Qt 5.14 MinGW debug build doesn't add debug suffix
I've just discovered another
On 2019-12-27 13:35, Shawn Rutledge wrote:
On 26 Dec 2019, at 01:09, Henry Skoglund wrote:
Hi, just tested my first Qt 14.0 iPhone app. My iPhone is running iOS 13 and
I'm using the new dark appearance mode on it.
When I run my Qt app (a vanilla widgets app just invoking a QMessageBox
Hi, just tested my first Qt 14.0 iPhone app. My iPhone is running iOS 13
and I'm using the new dark appearance mode on it.
When I run my Qt app (a vanilla widgets app just invoking a QMessageBox
and then exiting) on my Mac, which is set to dark mode, everything is
indeed dark in my Qt app
On 2019-10-24 08:13, Giuseppe D'Angelo via Development wrote:
Il 23/10/19 16:28, Henry Skoglund ha scritto:
Question: is this hit or miss font propagation on Windows and Mac a
bug or a feature? If it's a feature, could it be documented?
Please do some extra investigation: who's setting those
On 2019-10-23 20:49, Elvis Stansvik wrote:
Den ons 23 okt. 2019 kl 20:18 skrev Ville Voutilainen
:
On Wed, 23 Oct 2019 at 18:49, Elvis Stansvik wrote:
Den ons 23 okt. 2019 16:29Henry Skoglund skrev:
Hi,
I use Qt Creator's excellent Form Editor, however sometimes I've noticed an
Hi,
I use Qt Creator's excellent Form Editor, however sometimes I've noticed
an inconsistency in the font settings, because I'm lazy I usually only
set the font property for the top MainWindow and relying on it to
"trickle down" and affect the widgets as well. Except sometimes it
doesn't
, won't happen
again :-)
On 2019-10-18 03:49, Sze Howe Koh wrote:
On Fri, 18 Oct 2019 at 08:43, Alexander Nassian
wrote:
C++ hasn‘t even proper Unicode handling integrated. std::string is a mess in my
opinion.
Beste Grüße / Best regards,
Alexander Nassian
Am 18.10.2019 um 02:30 schrieb Henry
Hi, while writing lots of QString string fiddling code (keyboard macro
utility) I feel something tugging at my sleeve:
the upcoming C++20, looking at std::format(), it seems really handy, e.g.:
std::string s = std::format("String '{}' has {} characters\n", string,
string.length());
// for a
rom:* Development on behalf of
Henry Skoglund
*Sent:* Wednesday, August 21, 2019 9:36 PM
*To:* Elvis Stansvik
*Cc:* Qt development mailing list
*Subject:* Re: [Development] Dropping MinGW support in Qt 6 (Was:
HEADS-UP: QStringLiteral)
Yes, I also used app-local deployment, problem is that Mic
building wizard, like showing
say the most common static build flavors as check boxes, and perhaps a
detailed view for cherrypicking exactly what modules you want.
Rgrds Henry
On 2019-08-21 23:10, Ola Røer Thorsen wrote:
ons. 21. aug. 2019 kl. 20:54 skrev Henry Skoglund <mailto
, 22:39, "Henry Skoglund" :
Yes, I also used app-local deployment, problem is that Microsoft has not
committed 100% to allow it (as far as I know), instead they have a
seesaw approach, saying "you can temporarily use app-local deployment but.."
Anyway, my ultimate goal is to c
:22, Elvis Stansvik wrote:
Den ons 21 aug. 2019 kl 20:52 skrev Henry Skoglund :
Please, don't drop MinGW, it's in my meaning the best compiler on Windows.
I've switched from VS to MinGW, the #1 reason: I can distribute an .exe
file which is runnable directly on the user's desktop (no in
Please, don't drop MinGW, it's in my meaning the best compiler on Windows.
I've switched from VS to MinGW, the #1 reason: I can distribute an .exe
file which is runnable directly on the user's desktop (no installation).
This is *verboten* when using VS, you have to send along the
distribution
On 2019-04-18 14:46, 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 that are no longer relevant in Qt's
On 2018-12-19 19:26, Thiago Macieira wrote:
On Wednesday, 19 December 2018 04:38:48 PST Martin Smith wrote:
1. Simply merge the inherited members into the list that is already there.
2. Merge the inherited members into the list but qualified with their base
class name. 3. list the inherited
Hi, you mean I will not able to use Qt Creator on my Windows 7 machine
after 5.12? Please do not toss Windows 7 out of the window this fast.
Don't know about MSVC2021 yet, but MSVC2019 is the same 32-bit flavored
app that MSVC2017 is and MSVC2019 will run on Windows 7 SP1, i.e. I will
be able
On 2018-10-08 18:12, Matthew Woehlke wrote:
On 08/10/2018 02.23, Henry Skoglund wrote:
So, what about a new preprocessor command:
__has_same_md6_digest
See also http://wg21.link/p0538 and note that EWG rejected it. The
general consensus, AFAICT, is that modules is expected to make all
On 2018-10-08 07:13, Thiago Macieira wrote:
On Sunday, 7 October 2018 15:17:30 PDT Henry Skoglund wrote:
I recommend against changing Qt.
Hi, but isn't C++17's __has_include preprocessor cmd an implicit
endorsement of #pragma once? I mean, they both assume that the file
namespace is stable
On 2018-10-07 20:39, Thiago Macieira wrote:
On Sunday, 7 October 2018 01:56:47 PDT Lars Knoll wrote:
Hi,
Just a quick question: Does anybody have any good arguments against us
starting to use #pragma once instead of header guards throughout our code
base?
Yes, two:
a) not supported
Hi, excellent initiative, a better MaintenanceTool UX would also improve
the general opinion of Qt I think.
Just one to add 2 things to Sze Howe's list:
8c. For the users that, in search of a 32-bit MSVC2017-flavored Qt
version, downloads the UWP x86 (MSVC 2017) version of Qt, and then tries
On 2018-02-21 14:22, Maurice Kalinowski wrote:
The reason we have had x86 and x64 packages for UWP is not to target those two
architectures for the desktop, but rather that the x86 version also works for
the emulators for Windows Phone 8 / Windows 10 Mobile as well as Windows 10 IoT
(Core).
On 2018-01-24 16:19, Ville Voutilainen wrote:
On 24 January 2018 at 16:30, Oswald Buddenhagen
wrote:
but that's only tangentially related to the issue at hand, because the
compiler would still pick only one of the files under normal
circumstances. a problem would
On 2017-09-14 09:21, Sami Nurmenniemi wrote:
Hi,
Commit 120ecc976fc3d5504d234702f68c2ad3898b77a4 changes default behavior
of QRandomGenerator to use getentropy instead of /dev/urandom. This
causes problems for device boot times when using QRandomGenerator in the
boot sequence. As the commit
On 2017-07-24 21:32, Grégoire Barbier wrote:
Le 24/07/2017 à 18:45, Henry Skoglund a écrit :
QMap m1 = {std::pair{2,"score"}, {4,"seven"}, {1,"Four"},
{5,"years"}, {3,"and"}, {6,"ago"}};
Or even this:
QMap<int, const char
On 2017-07-24 16:53, Thiago Macieira wrote:
On Monday, 24 July 2017 00:00:36 PDT Marc Mutz wrote:
Hi,
We haven't added deduction guides to any Qt class, yet. If you want to
use bleeding-edge C++, use C++, iow: std::map.
std::map currently (GCC 7.1.1) works less well than QMap, since you
--
It's just QMap that I got stuck on, but as you say, it's very bleeding
edge, mostly for showing off :-)
/Henry
On 2017-07-24 09:00, Marc Mutz wrote:
Hi,
We haven't added deduction guides to any Qt class, yet. If you want to
use bleeding-edge C++, use C++, iow: std::map.
Patches welco
Hello, I've been testing more C++17 class template auto deduction awith
gcc-7, and got stuck on QMap, consider this simple test program:
-
#include "qapplication.h"
#include "qmap.h"
#include "qdebug.h"
int main(int argc, char
On 2017-07-24 00:13, Phil Bouchard wrote:
On 07/23/2017 03:54 PM, Thiago Macieira wrote:
On Sunday, 23 July 2017 12:27:44 PDT Phil Bouchard wrote:
..
..
..
How does your tool deal with runtime code generation via eval() ?
First you need to ask yourself if that function is really used a lot
Hi,
reading about the new C++17 standard, I decided to test some Qt code:
...
QList li = {7,8,4,2,5,4,3};
QList ll = {5,3,34,5,44};
qDebug() << li;
qDebug() << ll;
...
The normal g++ 5.4 on vanilla Qt 5.9.1 on my Ubuntu 16.04 returns:
"home/henry/test/mainwindow.cpp:13: error: missing template
On 2017-06-27 10:54, neel patel wrote:
Hi All,
As I am using "QAxWidget". I took the "webbrowser" example as reference.
As I am using "QTabWidget" as mainwindow widget and adding "QAxWidget"
as tab widget. Below is the code for reference.
m_tabWidget = new QTabWidget(mainwindow);
On 2017-06-16 21:52, Thiago Macieira wrote:
On Friday, 16 June 2017 11:14:20 PDT André Pönitz wrote:
On Thu, Jun 15, 2017 at 04:07:03PM -0700, Thiago Macieira wrote:
character set. Without the /utf-8 option added in MSVC 2015 Update 2, the
conversion fails and the compiler prints:
warning
On 2016-10-21 00:11, Sergio Martins wrote:
On 2016-10-20 21:43, Thiago Macieira wrote:
Em quinta-feira, 20 de outubro de 2016, às 17:28:39 PDT, Philippe
escreveu:
std::atomic is used as underlying implementation for the the Qt atomic
API with CLang on Mac.
But why not with Visual Studio 2015?
On 2016-09-21 17:02, Thiago Macieira wrote:
On quarta-feira, 21 de setembro de 2016 11:06:59 PDT Konrad Rosenbaum wrote:
RPath may be a bit tricky: normally Qt compiles it's lib path into RPath,
but with a deploy script you do not want that RPath anymore, instead you'd
want to change it to
Hi, most likely I've had too much coffee, but has anyone checked if
these intermittent crashes are due to outside DDOS/some trying to
introduce a race condition and injecting new code into Qt's codebase?
Rgrds Henry
On 2016-07-26 23:24, Giuseppe D'Angelo wrote:
On Mon, Jul 25, 2016 at 5:51
On 2016-06-06 15:27, Ronan Jouchet wrote:
On 2016-06-03 18:40, Henry Skoglund wrote:
Hi, just tested 5.7 RC on Ubuntu, looks good.
(Also I see Qt Creator 4.01's project view has nicer icons.)
Hi Henry.
What do you mean? Could you be also affected by
https://bugreports.qt.io/browse/QTBUG
Hi, just tested 5.7 RC on Ubuntu, looks good. (Also I see Qt Creator
4.01's project view has nicer icons.) But I spotted one problem, problem
for me at least:
When building a vanilla HelloQt widgets test app, I notice that the
chrpath of the app just points to Qt's installation path, e.g.:
Hi,
this is the same problem that the Qt installation program has, it solves
it by binary patching your copy of Qt5Core.dll when it installs Qt onto
your computer (e.g. set qt_prfxpath="C:\Qt\5.5\msvc2013").
Maybe you can to the same?
Or perhaps a more viable long-range solution is to
Hi,
just guessing but if your /Volumes/Data is an external hard disk this
might be due to a permissions problem. If you try testing by
(temporarily!) move the platforms directory (containing the
libqcocoa.dylib file) from /Library/Application
Support/Waves/WavesQtLibs_5.5.1/plugins/ to
Hi, I also had the same needs for testing my app, on different times of
the day or year etc. But instead of patching Windows or some Qt code, I
created a new virtual Windows VM in WMWare, and deployed my app into it.
Switched off Synchronize guest time with host in the Options, and
whenever I
Hi, just my 2 cents: just coding some database stuff using QVariants,
and invariably (especially Monday mornings) it takes me a couple of
milliseconds extra to comprehend what the tooltip for QVariant's toInt()
means:
int toInt(bool *ok = 0) const;
instead, if qvariant.h could be written
+1 for dropping VS2008. For those with thin wallets it's easier to
upgrade nowadays anyway to the VS2013 Community Edition.
/Rgrds Henry
On 2015-02-05 08:31, Bo Thorsen wrote:
Den 04-02-2015 kl. 15:56 skrev Olivier Goffart:
On Wednesday 04 February 2015 09:23:12 Knoll Lars wrote:
On 04/02/15
Hi,
just installed Qt 5.4 on OSX (with the online installer) noticed that
libqsqlodbc.dylib isn't included in the plugins/sqldrivers folder
anymore (it was there in 5.2 and 5.3).
If this removal is by purpose, for example to fix QTBUG-37835, then I
can fully understand the decision; using
On 2014-08-01 21:01, Adam Strzelecki wrote:
...
Well, to be frank there is a simple workaround for that :) Why not
symlink Qt frameworks at build time, then replace symlinks with real
copies on deployment step?
So the easiest solution would be to symlink Qt frameworks when your
create
Hi, I think treating Qt 5.3.1 as a patch level upgrade to 5.3 is a good
idea, but currently in execution it’s a bit lacking, i.e. when I do
fresh installs of 5.3.1:
Windows 1st line from qtdiag: “Win: Qt 5.3.1 (Jun 19 2014, MSVC 2013, 32
bit, release build) on “windows” little endian/“
Windows
63 matches
Mail list logo