Re: [Interest] QDir("~").absoluteFilePath(".mozilla")

2018-11-16 Thread Alexander Dyagilev
Thanks! I've also found QDir::home(). On 11/17/2018 6:35 AM, Andy wrote: "~" is a shell variable (bash/sh/etc), so that won't work here. What you probably want is QStandardPaths::HomeLocation. https://doc.qt.io/qt-5/qstandardpaths.html ___ Inter

Re: [Interest] QDir("~").absoluteFilePath(".mozilla")

2018-11-16 Thread Andy
"~" is a shell variable (bash/sh/etc), so that won't work here. What you probably want is QStandardPaths::HomeLocation. https://doc.qt.io/qt-5/qstandardpaths.html --- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney On Fri, Nov 16, 2018 at 10:27 PM

[Interest] QDir("~").absoluteFilePath(".mozilla")

2018-11-16 Thread Alexander Dyagilev
Hello, Linux. How? It gives me incorrect path of the expected one. I expect this: /home/user/.mozilla It returns me this: /home/user/Desktop/build-test-Desktop_Qt_5_11_2_GCC_64bit-Debug/bin/~/.mozilla P.S. I'm new to Linux so sorry for the probably stupid question.

[Interest] [ANN] UniqLogger a Qt-based logging library

2018-11-16 Thread Francesco Lamonica
Hi all, I'd just want to announce the availability of the UniqLogger library, it's an open-source Qt-based logging library with multiple backends ( file, colored console, network, db) that runs on many platforms (linux, win, macOS, iOS, android) You can grab a copy at http://github.com/netresultsi

[Interest] Drawing a path in QML through animation

2018-11-16 Thread Jeffrey Brendecke
Is there a way to animate the drawing of a path as an item moves along it? * Initial condition: Only the item (e.g., an arrowhead) is visible * End condition: The stroked path along which the item travelled is visible from the initial point to the item's final location __

Re: [Interest] Qt iOS / App Groups / NSUserDefaults initWithSuiteName / Not persisting (Nuno Santos)

2018-11-16 Thread John Weeks
> I feel stupid! :D Heh. You can join the elite group of, what, nearly 100% of coders who have had this experience? :) Those that haven't are probably not doing serious work. -John Weeks WaveMetrics, Inc. ___ Interest mailing list Interest@qt-proje

Re: [Interest] Qt iOS / App Groups / NSUserDefaults initWithSuiteName / Not persisting (Nuno Santos)

2018-11-16 Thread Nuno Santos
Colin, After your suggestion I decided to carefully review all the code… guess what… it was a typo! Thanks for insisting! I feel stupid! :D Have a great weekend! Best regards, Nuno > On 15 Nov 2018, at 19:12, Nuno Santos wrote: > > Yes, I can! The problem is when I close the app and start

Re: [Interest] Interest Digest, Vol 86, Issue 11

2018-11-16 Thread Thiago Macieira
On Friday, 16 November 2018 07:46:31 PST rol...@logikalsolutions.com wrote: > qwaylanddisplay.cpp:315:35: error: could not convert ‘{listener, > data}’ from ‘’ to > ‘QtWaylandClient::QWaylandDisplay::Listener’ > Listener l = { listener, data }; > ^ This er

Re: [Interest] Compile Qt program on Ubuntu 18.04 which will run on Ubuntu 14.04

2018-11-16 Thread roland
On 11/11/18 Vlad Stelmahovsky wrote: bundle stdlib++ etc with your app Thank you Vlad. You are correct that, traditionally, going backwards, that is about all you need, as long as there are no ABI changes to the C/C++ language which force one to bring ld-2.27.so and repoint the 32-bit

Re: [Interest] Interest Digest, Vol 86, Issue 11

2018-11-16 Thread roland
Quoting Thiago Macieira: On Saturday, 10 November 2018 17:40:06 PST Roland Hughes wrote: Trying to compile Qt program where Qt is build from source on 18.04 64-bit and run it on 14.04. The interesting part is trying to identify which libraries I need /this/ time. The C++ ABI has changed. The

Re: [Interest] linuxdeployqt?

2018-11-16 Thread Elvis Stansvik
Den fre 16 nov. 2018 16:55Boudewijn Rempt skrev: > On vrijdag 16 november 2018 16:53:55 CET Alexander Dyagilev wrote: > > Hello, > > > > On Windows we have windeployqt. > > > > On MAC - macdeployqt. > > > > On Linux - there is no tool for this ? Is there some convenient > > alternative way to cop

Re: [Interest] linuxdeployqt?

2018-11-16 Thread Boudewijn Rempt
On vrijdag 16 november 2018 16:53:55 CET Alexander Dyagilev wrote: > Hello, > > On Windows we have windeployqt. > > On MAC - macdeployqt. > > On Linux - there is no tool for this ? Is there some convenient > alternative way to copy all the required Qt files then (my project uses > Quick Controls

Re: [Interest] QML Transparent conversion of QVariantList> of ints

2018-11-16 Thread Jason H
Update: It seems that it's stored correctly, just not printed correctly. That is to say: lines[0] = [839, 619, 1118, 845], as expected. > Sent: Friday, November 16, 2018 at 9:58 AM > From: "Jason H" > To: "interestqt-project.org" > Subject: [Interest] QML Transparent conversion of QVariantList>

[Interest] linuxdeployqt?

2018-11-16 Thread Alexander Dyagilev
Hello, On Windows we have windeployqt. On MAC - macdeployqt. On Linux - there is no tool for this ? Is there some convenient alternative way to copy all the required Qt files then (my project uses Quick Controls 2)? ___ Interest mailing list Inter

[Interest] QML Transparent conversion of QVariantList> of ints

2018-11-16 Thread Jason H
Creating list of list of ints requires insert: QVariantList qlines; std::vector lines; ... for( size_t i = 0; i < lines.size(); i++ ) { qlines.insert(qlines.size(), QVariantList{ lines[i][0], lines[i][1], lines[i][2], lines[i][3]}); // lines = [[839, 619, 1118, 845], [763,550,1199,904]] } //(

[Interest] How to enable chrome:// urls in qtwebengine?

2018-11-16 Thread Szymon
Hello, I would like to access chrome:// urls in qt webengine, but I am getting an ERR_UNKNOWN_URL_SCHEME error. It works both on Chrome and Chromium. In the sources of Chromium inside qt webengine I see the appropriate sources which are used by the chrome:// special pages, for example: qtwebengine