using "typedef float qreal"
On Apple Silicon, 32-bit float processing significantly outperforms 64-bit
processing (often 2 or 3 times faster).
Philippe
On Mon, 4 Dec 2023 14:55:26 +
Volker Hilsheimer via Interest wrote:
> > On 30 Nov 2023, at 12:16, Filippo Rusconi via Inter
mpiler
releases.
...Qt 6.6 should not be concerned by old compilers.
Philippe
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
s perfect
sense to have a 64-bit range.
Actually, it makes more sense than 64-bit containers... Hopefully for Qt7.
(I have had this particular need for 10 years actually...)
Philippe
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
but the removal of toList(), toSet() & co. is already a pain,
and we basically needed to add helper functions to keep our code readable.
Yes. These are good examples of "small convenient methods" that make (made) Qt
containers stand apart (in the positive way)
Philippe
On Mon,
It seems (?) Qt6 requires the new Subcription commercial license, while the old
perpetual license, valid for Qt 5.x, is not possible to use for Qt6.
Philippe
On Wed, 9 Dec 2020 19:54:36 +1300
Christian Gagneraud wrote:
Like is Qt6 for private members only?
> Please don't go this w
I recommend you to use the data() / constData() API to reduce the risk of
mistakes.
I personaly used a similar class, but in my case, the API names are called
data() / mutableData()
because I wish even more hilight on state changes.
Philippe
On Thu, 20 Sep 2018 13:19:47 +0200
Michal Lazo
This is a (logical) C++ aspect, not a Qt thing:
non-constant pointers call non-contant methods in priority.
Philippe
On Thu, 20 Sep 2018 11:02:44 +0200
Michal Lazo wrote:
I still don't see reason why compiler don't call const variants to access raw
pointer
> http://code.
You just have to change your line:
Car * carPtr = &car;
with
const Car * carPtr = &car;
Philippe
On Thu, 20 Sep 2018 10:40:01 +0200
Michal Lazo wrote:
> Hello
> example
> https://pastebin.com/xL9yWhKe
>
>
>
> I never used QSharedDataPointer in my code but
de, QTimer::singleShot seems to be more heavy.
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> https://github.com/CrimsonAS/gtkplatform
Interesting. Proof of concept!
Philippe
On Sat, 25 Nov 2017 21:30:44 +0100
Alejandro Exojo via Interest wrote:
> On Friday 17 November 2017 18:02:21 Philippe wrote:
> > * there is a big desktop application A that does not use Qt, a
rocess/address space you'll need some level of IPC.
A Qt application can embed native windows, but AFAIK, a Qt application
cannot be embedded inside a hierarchy of native windows.
Hence my idea to abstract the the native application via QPA.
All that in the same process (no IPC).
Philippe
O
"platform A", to host B ?
IOW, mouse/key/window support is provided by A, and used by B
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
FYI, I just discovered that QStringLiteral has become pretty expensive under
Visual Studio 2017 15.3, compared to the past (Visual Studio 2015).
Much more assembly code generated for the associated lambda, and
_Init_thread_header / _Init_thread_footer is called at the first call of each
instanc
f the Qt trait Q_MOVABLE_TYPE.
Finally, if speed is really important for you, you need one step further
and take care about memory allocation. In that case, forget both Qt and
std and use, for example, eastl (https://github.com/electronicarts/EASTL)
which provides better support than std for custo
ing a discouraged container forever?
A possible answer is on the same slide:
"QList might simply become a typedef for QVector"
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Don't need to answer me. It seems that all:
...
mkspecs/win32-msvc2015
mkspecs/win32-msvc2017
have been unified to mkspecs/win32-msvc
Philippe
On Mon, 24 Jul 2017 18:44:36 +0200
Philippe wrote:
> In the past I used to specify QMAKESPEC. For example,
>
> set QMAKESPEC=winr
2-msvc" and not
"winrt-x64-msvc2015"
How can I make sure the proper mkspecs is used?...
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
To be complete on the topic:
on OSX, in the past I used
-prefix .
Now for the same result, I have to use
-prefix %QTDIR%\qtbase
Philippe
On Sun, 23 Jul 2017 10:42:41 -0700
Thiago Macieira wrote:
> On Sunday, 23 July 2017 10:14:30 PDT Philippe wrote:
> > Thanks.
> > In
Thanks.
Indeed, specifing:
-prefix %QTDIR%\qtbase
solves my problem (I did not need -prefix before).
Philippe
On Sun, 23 Jul 2017 09:45:57 -0700
Thiago Macieira wrote:
> On Sunday, 23 July 2017 03:18:14 PDT Philippe wrote:
> > For many years (<= 5.8.0), building Qt on Windows
For many years (<= 5.8.0), building Qt on Windows would result having _all_
binaries found by default in qtbase\bin
Now, extra modules such as Qt5Multimedia.dll, are found in eg. qtmultimedia\bin
Is there a way to have the same behaviour as before?
Phili
qDebug() << QString("B: %4%1%2%3") .arg(b, c, d, a);
works
Philippe
On Mon, 5 Jun 2017 00:41:34 +1000
"Tony Rietwyk" wrote:
> > Sent: Sunday, 4 June 2017 11:26 PM
> >
> > Hello (No, this is not spam):
> >
> > For me, the fo
oper.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/ErrorHandling.html
Philippe
On Mon, 8 May 2017 07:11:22 -0300
Till Oliver Knoll wrote:
>
> > Am 08.05.2017 um 01:48 schrieb Igor Mironchik :
> >
> > Hi,
> >>>> Using ex
Where there any change in 5.8 concerning the embedding of native cocoa
windows? Since I switched from 5.7 to 5.8, I get a crash inside
QMacAutoReleasePool::~QMacAutoReleasePool
whenever I close the top level window containing the native cocoa window.
Philippe
a new alignment capability, but container
allocators are not mentionned (AFAICS)
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> How is it ia win for std::vector to achieve next year what QVector has done
> for the past 7 or 8?
Not to mention we are likely far away from the time C++17 becomes a
requirement to use or build Qt.
Philippe
On Thu, 29 Dec 2016 10:03:03 -0200
Thiago Macieira wrote:
> Em quinta-
Good to know. It would be nice to have this mentionned in the official
documentation.
Sometimes there are discussions about what is best QVector vs
std::vector, and here we have a good "plus" for QVector.
Philippe
On Thu, 29 Dec 2016 01:26:33 -0200
Thiago Macieira wrote:
> Em
Given an aligned type such as:
struct alignas(2048) foo
{
char t[55];
};
I was pleasantly surprised that QVector provides aligned data (see my
example further, using Qt 5.8 RC)
I could not see this officially mentionned in the Qt documentation.
Yet, this is obviously very useful. Hence, is
Where/How can one get an idea about the release date of Qt 5.6.1?
I know about bugreports.qt.io, but though there are only a few issues left for
several weeks, I hardly see any progress.
For 5.6.0, we had
https://wiki.qt.io/Qt-5.6-release
But for 5.6.1?...
Philippe
When building Qt 5.6 on Windows, there is a new DLL called Qt5DBus.dll
which did not exist in past Qt 5.x versions I have built on my machine.
Is it a new capability introduced by 5.6 (not mentionned in
https://wiki.qt.io/New_Features_in_Qt_5.6
)
Philippe
>>I see configure.exe in qtbase-opensource-5.6.0-rc.zip, but it's missing
>>in all the other packages.
It is not present in the commercial zip package.
But configure.exe is built by configure.bat and this works ok.
The problem I encounter is something else.
Philippe
On Wed,
Same her, impossible to build fully under Windows 10 / VS 2015 (I tried
both 32 and 64 bit).
qtBase builds fine, but later ActiveX and XMLPatterns projects fail.
I tried with a basic configuration:
configure -debug-and-release -make-tool jom -commercial -confirm-license
Philippe
Here, even with
removing qSwap from the Qt official obsolete
list...
Philippe
On Sun, 25 Oct 2015 23:52:37 -0700
Thiago Macieira wrote:
> On Monday 26 October 2015 07:44:55 Philippe wrote:
> > In the Qt doc, it is said that qSwap is obsolete and should never be used
> > in new code:
> >
quick test with Qt 5.5.1 on qSwap with QString tends to show Marc is
right (much less assembly code for this call).
So, is it a mistake from the Qt documentation or?...
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org
/x4d2c09s.aspx
Philippe
On Mon, 19 Oct 2015 11:12:09 +
Kalinowski Maurice wrote:
> >
> > Interesting. How do you force the usage of the the 64-bit native compiler?
> >
>
> [Kalinowski Maurice]
> Open a cmd.exe and use "\vc\vcvars x64". That one
&g
install the latest Windows SDK
https://dev.windows.com/en-us/downloads/windows-10-sdk
Philippe
On Mon, 19 Oct 2015 09:51:18 +0200
Michael Sué wrote:
> Hi Philippe,
>
> I had the same problem. It may be a problem of the x86_64 cross-compiler,
> indeed, or Qt's configure does
64bit config (x86_amd64), it now works!
And with the arch.exe prebuilt like this, the rest of configure stge works,
and the full 64 bit Qt can be built later with success...
So, still a mystery, but I have a solution.
Philippe
On Fri, 16 Oct 2015 16:21:40 -0700
Thiago Macieira wrote:
> On
I don't have the problem with the 32 bit configure. But with the 64 bit,
I always get the following error during configure. Any idea?
Running configuration tests...
jom: C:\Qt\5.5.1\64\qtbase\config.tests\arch\Makefile [arch.obj] Error 2
Could not find output file 'arch.exe' or 'arch' in C:/Qt/5.5
Well, an application should be able to enable or disable HDPI support at
Qt startup, programatically.
Philippe
On Tue, 29 Sep 2015 08:42:44 -0700
Thiago Macieira wrote:
> On Tuesday 29 September 2015 05:55:01 Adam Light wrote:
> > On Tue, Sep 29, 2015 at 1:20 AM, Julius
aybe 2 or 3 years.
> > But __GNUC_LIBSTD__ is not defined, hence Q_COMPILER_RVALUE_REFS is
> > #defined.
>
> It's defined somewhere in libstdc++ headers.
I don't include any of these headers, hence it's not defined for my
application.
Philippe
_
t the penalty of
undefining Q_COMPILER_RVALUE_REFS
Philippe
On Fri, 25 Sep 2015 12:51:29 -0700
Thiago Macieira wrote:
> On Friday 25 September 2015 20:55:03 Philippe wrote:
> > Why do you say so?
> >
> > Qt defines Q_COMPILER_RVALUE_REFS
> > and I don't see thi
Why do you say so?
Qt defines Q_COMPILER_RVALUE_REFS
and I don't see this define dependent on the presence of libstdc++
Philippe
On Fri, 25 Sep 2015 19:29:44 +0200
Sven Bergner wrote:
Hi,
> I've just came across the fact, that on Mac OS X the rvalue references are
> disabl
Building now works... but if you specify an older osx SDK.
cf. https://bugreports.qt.io/browse/QTBUG-48357
Philippe
On Sat, 19 Sep 2015 18:58:18 -0700
Thiago Macieira wrote:
> On Sunday 20 September 2015 00:40:22 Philippe wrote:
> > lalr.cpp:241:56: error: expected unqualified-id
&
ble (this)));
^
lalr.cpp:638:107: error: expected expression
NameList::iterator first_not_nullable = std::find_if (dot,
rule->rhs.end (), std::not1 (_Nullable (this)));
Philippe
> On Saturd
o make sure my setup is correct:
success.
Worth noting: if I rebuild my +1 million line Qt application with XCode
7, using Qt 5.5.0 built with XCode 6, no problem...
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-proje
er in 64 bit at that time):
http://www.matcode.com/mpress.htm
I see today that a Mac version is also available.
Philippe
On Fri, 7 Aug 2015 23:06:01 +0900
Gunnar Roth wrote:
Hi Philippe
> May i asked what the advantage is against a 7z compressed msi file?
> If you remove code from code it
Under Windows, use a runtime compacter such as https://bitsum.com/pecompact/
Philippe
On Fri, 07 Aug 2015 13:31:55 +
Rafael Machado wrote:
Hi everyone
>
>
> This is my first question on this mail list, so sorry for possible trivial
> questions.
>
>
> I have task
reate a "meta system, signal/slot
> connections etc."
Completely on the same line.
"Code Generators are Good", as quoted there:
http://doc.qt.io/qt-5/why-moc.html
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Did you think linking with Qt5AxBase.lib ?
Philippe
On Fri, 20 Mar 2015 11:30:42 +
"Kammar, Mahesh" wrote:
Hi All,
>
> I am new to Qt, am trying to use SetControl of QAxWidget class to host some
> Wpf control in Qt which is exported as COM.
>
> I am getting th
Thanks for this clear, constructive and reassuring answer.
Philippe
On Wed, 18 Mar 2015 17:22:06 +0100
Frederik Gladhorn wrote:
> Hello all,
>
> thanks for all the feedback, it's very much appreciated.
> The discussion has sparked quite a few discussions here in Oslo and
Very well expressed...
Philippe
On Tue, 17 Mar 2015 21:21:18 +0100
Christian Dähn wrote:
> Hallo Andre´,
>
> thanks for your very philosophic (sorry: but off topic) post.
>
> But your post shows really in depth the problems between developer's opinions
> and
>> So am I the only one who cares about QtScript?
This is a wondeful module. It should be kept!
Actually I don't see any reason to remove it, as it has no replacement.
Philippe
On Tue, 17 Mar 2015 15:33:52 +0100
Christian Dähn wrote:
> Hi folks,
>
> as stated inside the Q
thout WA_OpaquePaintEvent), for a child widget?...
Philippe
On Thu, 22 Jan 2015 07:59:54 +0100
Bo Thorsen wrote:
> Hi Philippe,Den 21-01-2015 kl. 15:32 skrev Philippe:
> > The difference between these two modes is not obvious.
> > When should we use *WA_NoSystemBackground* instead of *WE_Opaque
The difference between these two modes is not obvious.
When should we use WA_NoSystemBackground instead of WE_OpaquePaintEvent,
and reciprocally?
When should we use both?
I could not get any clear hint while searching through the Qt source...
Philippe
There is a "QVector::resize"
but no
"QList::resize"
Any design reason for this?
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On a widget based interface, on the same hardware, the Windows version
is (more than) sensibly faster than the OSX version, when lots of
graphical activity happens. What could be the underlying reason to this?
(this has always been so, Qt 4.x, 5.x).
Philippe
I was not searching for a way to avoid delegates, but for a way of
painting. It seems I have found some hints now...
http://qt-project.org/faq/answer/how_can_i_have_richtext_in_my_qtableview
Philippe
On Fri, 20 Dec 2013 12:00:18 +0100
André Somers wrote:
> Philippe schreef op 20-12-2013 10
I would like to paint rich text in item view cells. I am aware of all
the delegate stuff to paint custom item cells, etc. but I am not aware
of any public Qt class that could paint rich text.
Any hint?
Philippe
___
Interest mailing list
Interest@qt
When you add a source file that requires moc, uic or rcc processing, the
VS Addin generates the proper command lines to integrate these processes
in the project.
Philippe
On Thu, 28 Nov 2013 12:14:01 +1100
Hamish Moffatt wrote:
> On 27/11/13 19:22, Yves Bailly wrote:
> > Le 27/11/2
Would be nice, but without the Visual Studio Addin (I haven't seen yet
any VS 2013 beta version), this will not be usable for many.
Philippe
On Tue, 26 Nov 2013 23:30:13 -0800
Thiago Macieira wrote:
> On quarta-feira, 27 de novembro de 2013 09:47:29, Igor Mironchik wrote:
> > Hi.
I had the same problem in Qt 5 on Windows (only). The (indirect) origin of the
problem was solved by this issue:
https://bugreports.qt-project.org/browse/QTBUG-34046
(the problem was that the assistant cache could not be created).
Philippe
On Tue, 19 Nov 2013 11:12:14 +
Graham Labdon
I was told the QMap implementation was changed from Qt 4 to 5, to improve
performances... I guess some other tests give different results?...
Philippe
On Mon, 23 Sep 2013 15:15:37 +0530
Mandeep Sandhu wrote:
> Actually, everything's a little slower with Qt5. Is C++11 enabled by
I could easily guess 99.9% of Qt programmers don't need 64 bit containers... Qt
containers are far more than "just convenience" classes.
STL is first of all an interface and there are various implementations, hence
your remark about performances does not make sense.
Philippe
No problem here, self-building 5.1.1.
Philippe
On Sun, 1 Sep 2013 09:57:18 -0400
Gil Moses wrote:
Hi, are there any plans to bring back the support for 32 bits on Mac? Currenty
all my 32 bit apps dont link with the current distributions, requiring massive
migration to 64 bit on my side
This was in \4.8.5\src\gui\kernel\qapplication_win.cpp
Philippe
On Fri, 2 Aug 2013 14:54:05 +
Graham Labdon wrote:
Hi
> In your bug report you make mention of the event SC_CONTEXTHELP not being
> handled. In which file is it missing?
>
> Thanks
>
> From: interest-bou
Funnily enough, I entered the bug you describe in Jira, 5 min before reading
your email!
<https://bugreports.qt-project.org/browse/QTBUG-32782>https://bugreports.qt-project.org/browse/QTBUG-32782
Philippe
On Fri, 2 Aug 2013 14:02:42 +
Graham Labdon wrote:
Hello
> I would be gr
The only reliable way not to use webkit on both Mac and Windows, is to
erase the webkit* folders before configure.
Philippe
On Sat, 20 Apr 2013 16:00:47 +1000
"Tony Rietwyk" wrote:
> Hacking the assistant.pro file to comment out relevant lines using
> contains(QT_CONFIG, web
Sure about it, and yes I will post an issue in Jira. The good news is also that
in Release mode, I see no difference of speed at all with 4.8.3.
I will make tests on Mac too.
Philippe
On Mon, 15 Apr 2013 13:33:17 +0200
William Hallatt wrote:
If you're sure about it, please log
There is definitly something wrong on the Windows accessibility code...
Philippe
On Mon, 15 Apr 2013 07:45:55 +0200
"Michael Klank" wrote:
> We have a similar problem here. I did compare a small (bigxml) program from
> http://qt-project.org/ which reads an xml file in a QTreeWidget
s is not a painting issue as the speed inside a window has been
measured to be sensibly the same to 4.8.x (using ANGLE).
Anyone else sees the same? Any known reason for this?
Setup: Windows 7, Visual 2010, Qt 32 bit, *very* fast computer.
Philippe
__
> The QMap implementation was completely changed in Qt 5.0. In Qt 4, it was a
> skiplist; in Qt 5, it's an RB tree -- the same implementation as Qt 3.
What was the motivation for this change?
Philippe
___
Interest mailing list
Interest@qt-
configure -platform macx-clang-32
Philippe
On Tue, 25 Dec 2012 11:29:59 +0200
Nikos Chantziaras wrote:
> On 20/12/12 14:09, Sorvig Morten wrote:
> > - 10.6 requires a machine that can run 64-bit apps, with the minor
> > exception the early 2006 Intel Core Solo/Duo iMacs and
The Qt Designer plugins made with 4 are not recognized in 5. What should
be done at the source level?
Philippe
On Thu, 20 Dec 2012 12:09:33 +
Sorvig Morten wrote:
> Hi,
>
> Qt 5 aims to be 98% source compatible with Qt 4. Still, changes has been made
> to the platform implem
Normally you can debug Qt as frameworks (I do for 4.8) but see this:
https://bugreports.qt-project.org/browse/QTBUG-28496
Philippe
On Sat, 15 Dec 2012 04:51:52 -0700
john.cleme...@axograph.com wrote:
> Is anyone working with Mac OS X / XCode? I'd like to contribute to the
> Qt 5
http://origin.releases.qt-project.org/digia_vsaddin/
Philippe
On Sat, 08 Dec 2012 08:03:03 -0500
Duane wrote:
> Will there be a VS addin for VS 2012 and Qt4? I've asked this before
> but with no response. Is there a better place to ask th
I note that modules such as QtHelp and QtMultimedia are built under
Windows, but are missing when building on Mac...
Philippe
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
1) I cannot dock two Docking Widgets next to each other, ie
...
This is possible.
Philippe
On Sun, 16 Sep 2012 15:08:59 +0200
felix felix wrote:
Hello everyone,
>
> I am in the process of porting an exiting program from MFC to Qt for my
> company.
> The one requirement is: th
relaunch the IDE
after a few hours, to recover original speed.
Philippe
On Sun, 8 Jul 2012 12:56:32 -0600
Charley Bay wrote:
Show of hands -- those of you on Win7x64, are you using MSVC2008 or MSVC2010?
>
>
> We're a Qt-Win-Commercial customer, and our internal "ref
That's good news indeed. I'm a fan of these Qt pointer classes.
Philippe
On Wed, 20 Jun 2012 08:27:57 +0200
Thiago Macieira wrote:
> On quarta-feira, 20 de junho de 2012 06.42.52, Philippe wrote:
> > In Qt 5 in git, I have seen changes to this implementation. Mainly, in
efficient than QPointer, so it should
be preferred in all new code.".
I use it a lot without trouble. So I would like to know why this (apparent)
regression?
Question for Thiago I guess...
Philippe
___
Interest mailing list
Interest@qt-project
I have run a similar problem with Qt Designer plugins, when switching from
4.8.0 to 4.8.1
I could solve it by #defining QT_NO_DEBUG
for my plugin projects (it's not exactly clear why actually, but that works).
Philippe
On Tue, 3 Apr 2012 11:14:51 -0300
Hugo Drumond Jacob wrote:
Hell
80 matches
Mail list logo