All,
I'm a bit of a Qt novice but I have been working on a custom gauge with a
dynamic number of ticks, all drawn in updatePaintNode. The Node hierarchy
is like this:
QSGNode (root/old node)
--> QSGGeometryNode (Background)
--> QSGGeometryNode (Border/Edge)
--> QSGNode (Tick Container)
->
Il 02/11/18 20:51, Tomasz Siekierda ha scritto:
UTC time, according to docs
https://doc.qt.io/qt-5/qdatetime.html#toMSecsSinceEpoch
So you need C++2a's std::chrono::utc_clock, not C++11's system_clock.
Cheers,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB
On Fri, 2 Nov 2018 at 17:51, Giuseppe D'Angelo via Interest
wrote:
> Last, but not least, note that std::system_clock is a Unix clock only
> starting in C++2a; before you had no guarantees. Does anyone know if
> QDateTime::toMSecsSinceEpoch() returns UTC time or Unix time?
>
UTC time, according
> > The bitwise OR operator, descending multiple namespaces.
> > It makes my point. That these very common functional programming paradigms
> > (map, reduce, etc) are (needlessly?) obtuse in C++.
>
> Sorry, what is the point? Is it hard to read, write, teach, learn,
> understand, extend...?
have built and run some complex QQC2 Apps with Qt 5.12Beta3 + QtC 4.7.2
on Android, iOS, macOS -> works well
my only problem is with release builds where QtQuickCompiler is enabled:
translations are broken (https://bugreports.qt.io/browse/QTBUG-71553)
just have tried new empty QtQuick Application
Hi,
Il 02/11/18 16:40, Jérôme Godbout ha scritto:
Maybe you can pass by a string, this would be highly inefficient but could be
simple enough. I guess you should make the time into UTC too. You could use
QString to std::string for the string stream. And do the following:
std::tm tm = {};
Hi, I’ve installed Qt 5.12.0 beta 3 twice now (also tried beta 2), and I always
see the same error:
QQmlApplicationEngine failed to load component
qrc:/main.qml:-1 No such file or directory
To reproduce, create a new empty Qt Quick Application using Qt Creator, build
and run it.
I tried
Hi,
Maybe you can pass by a string, this would be highly inefficient but could be
simple enough. I guess you should make the time into UTC too. You could use
QString to std::string for the string stream. And do the following:
std::tm tm = {};
std::stringstream ss("Jan 9 2014 12:35:34"); //
All,
Following the instructions from here:
https://wiki.qt.io/Building_Qt_Documentation
I tried to make the documentation so QtCreator would have it. Yes,
most people just install the Linux distro version hoping it isn't too
far away from what they are using, but, I opted to build and
created this bug https://bugreports.qt.io/browse/QTBUG-71553
to get correct translation with Qt 5.12 Beta3 I must uncheck
QtQuickCompiler for Release Builds
for some of my projects this is a showstopper
ekke
Am 01.11.18 um 12:15 schrieb ekke:
> Am 01.11.18 um 12:12 schrieb ekke:
>> just found
Hi folks,
Is there any recommended way to convert a QDateTime to a
std::chrono::timepoint? I'd like to take the value of
QFileInfo::lastModified() and pass it to an interface using e.g.
std::chrono (or nanoseconds).
However, making this work portably, including all the epoch and leap
11 matches
Mail list logo