Re: [Interest] Build Issues with QT 6.2.3

2022-02-06 Thread Bob Hood
On 2/5/2022 4:15 PM, BeneschTech LLC wrote: I have to say, not thrilled with the change to cmake/ninja, but maybe I'm just old and not "cool" LOL. You're not alone. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Dumping compiler flags

2021-12-22 Thread Bob Hood
On 12/21/2021 8:43 AM, Konrad Rosenbaum wrote: Hi, On 21/12/2021 15:53, Bob Hood wrote: I seem to recall, in the dim, distant past, using a Qt utility (qmake?) to display the compiler flags that were used to build the Qt version.  Am I remember that correctly? If so, can somebody give me

[Interest] Dumping compiler flags

2021-12-21 Thread Bob Hood
I seem to recall, in the dim, distant past, using a Qt utility (qmake?) to display the compiler flags that were used to build the Qt version.  Am I remember that correctly? If so, can somebody give me the command line for displaying that info? ___

Re: [Interest] Another Qt disappointment

2021-05-04 Thread Bob Hood
On 5/3/2021 8:44 AM, Jason H wrote: I have a load cell. It's a sensor that measures weight. I wanted to make a quick UI for it in Qt. That went as expected. Then I wanted to put the app on a spare Amazon Fire tablet rather than tie up a computer with it. I was running with Qt 5.15.2, but

Re: [Interest] L Word

2021-04-29 Thread Bob Hood
On 4/29/2021 4:02 AM, Bernhard Lindner wrote: Obviously, Qt has nothing to do with this type of software engineering. And it's obviously not suitable for functional safety (at least not if you take it seriously). If this statement is true /and/ Roland's statement that TQC actively courted

Re: [Interest] Qt 6.0.0 released

2020-12-09 Thread Bob Hood
On 12/9/2020 6:53 AM, Tino Pyssysalo wrote: Hi, Philippe – you are right. Qt 6 is available for customer under new subscription licenses, Qt 6 is not included in the legacy Qt licenses. Well, that's a shame--although not a surprise, considering the licensing controversies occurring late

Re: [Interest] Fw: Aw: Re: Re: Re: OSX codesign question

2020-04-09 Thread Bob Hood
On 4/8/2020 9:29 AM, "Alexander Carôt" wrote: P.S.: I might have overlooked this info: *Software Distribution Reminder* If you're generating your first Developer ID certificate, the software that you sign it with must be notarized by Apple in order to run on macOS 10.14.5 or later. Learn how

Re: [Interest] Tooltips and Anchors with QSyntaxHighlighter

2020-01-24 Thread Bob Hood
Just to add to the list: https://www.riverbankcomputing.com/software/qscintilla/download/ I have integrated 2.11.3 into a (WIP) Qt Widgets project, linked as a shared library, and it was extremely easy. On 1/22/2020 5:47 AM, rol...@logikalsolutions.com wrote: Quoting Jonathan Purol: I

Re: [Interest] QGraphicsObject::boundingRect() called with different instance

2019-10-31 Thread Bob Hood
On 10/31/2019 3:07 AM, Giuseppe D'Angelo wrote: Il 31/10/19 01:55, Bob Hood ha scritto: I'm on Windows using Qt Creator 4.6.2. Apart from MSVC working on porting ASAN, there's a memory error detector available as part of Intel Studio. To me, valgrind/ASAN is still a _huge_ reason to prefer

Re: [Interest] QGraphicsObject::boundingRect() called with different instance

2019-10-30 Thread Bob Hood
(Sorry for the slow reply.  F#@$ing Comcast decided yesterday that all my mailing list traffic was Spam.) On 10/30/2019 5:17 AM, Giuseppe D'Angelo via Interest wrote: On 30/10/2019 01:47, Bob Hood wrote: When I enter the constructor, I have a specific ‘this’ pointer that has the provided

[Interest] QGraphicsObject::boundingRect() called with different instance

2019-10-29 Thread Bob Hood
I’m sure I’m being dense here, but I’m confused about why my QGraphicsItem subclass is being called with a different instance when the overrides of the boundingRect() and paint() functions are being called. Here’s the code… Header: |class Entity : public QGraphicsObject { Q_OBJECT public:

Re: [Interest] equivalent of python glob

2019-08-23 Thread Bob Hood
On 8/23/2019 9:03 AM, Thiago Macieira wrote: On Friday, 23 August 2019 07:38:56 PDT Bob Hood wrote: e.g., QDirIterator iter(base_folder, QStringList() << "*.*", QDir::Files, QDirIterator::Subdirectories); "*.*" is "all files containing a dot" (and not

Re: [Interest] equivalent of python glob

2019-08-23 Thread Bob Hood
On 8/23/2019 12:46 AM, Hamish Moffatt wrote: Hi, In Python one can write the expression: glob.glob("/usr/bin/*") and get a list of such files. I am looking for something similar in Qt (in C++). I have look at QDir::entryList() and entryInfoList(), but it seems I would have to extract the

Re: [Interest] Clarification on network security

2019-06-16 Thread Bob Hood
Let me thank everybody for responding, and providing such helpful insights.  Some--like creating Private CA, as Steve pointed out--I wasn't even aware was possible. I certainly have much to consider before beginning this next project. As for what I'm securing, it's certainly not bitcoin

[Interest] Clarification on network security

2019-06-13 Thread Bob Hood
I've specialized in client/server solutions in my career, stretching all the way back to System V sockets on real, pre-Linux UN*X system, and culminating with today's Qt release.  In that time, I've never really been concerned with--nor implemented--anything but internal, home-grown security

Re: [Interest] [PySide] PySide2 installer for windows?

2019-05-20 Thread Bob Hood
On 5/20/2019 4:49 PM, Frank Rueter | OHUfx wrote: I know that, the problem is I work in an industry that has been clinging onto Python 2.7 with al their major softwares for way too long, it has not been my choice. As do I, and as do many others.  Python 2.7.x is not simply going to disappear

Re: [Interest] PySide2 installer for windows?

2019-05-17 Thread Bob Hood
On 5/17/2019 2:58 PM, Thiago Macieira wrote: On Friday, 17 May 2019 10:16:04 PDT Bob Hood wrote: They have (prematurely, imo) abandoned the combination of Windows + Python v2.7. You will only be able to install PySide2 under Windows with Python v3.x now. Less than 7 and a half months

Re: [Interest] PySide2 installer for windows?

2019-05-17 Thread Bob Hood
They have (prematurely, imo) abandoned the combination of Windows + Python v2.7.  You will only be able to install PySide2 under Windows with Python v3.x now. Found that out recently when I too went looking for installers. On 5/16/2019 5:57 PM, Frank Rueter | OHUfx wrote: Hi all, we are

Re: [Interest] Using a QAbstractScrollArea

2019-03-22 Thread Bob Hood
On 3/22/2019 3:53 PM, Konstantin Shegunov wrote: On Fri, Mar 22, 2019 at 8:25 PM Bob Hood <mailto:bho...@comcast.net>> wrote: How do I use this as a concrete Qt class type?  Do I inherit from QScrollArea and then somehow change my parent to it?  Or do I have to inh

[Interest] Using a QAbstractScrollArea

2019-03-22 Thread Bob Hood
I'm having a bit of a brain fart here.  I have a third-party class I'd like to use that inherits from QAbstractScrollArea.  Qt Designer only knows about a QScrollArea, though, which inherits QAbstractScrollArea. How do I use this as a concrete Qt class type?  Do I inherit from QScrollArea and

Re: [Interest] vs. Flutter

2019-02-19 Thread Bob Hood
On 2/18/2019 7:40 AM, René Hansen wrote: I've not come across any myself, and have only built a few small things with it a bit for now. Initial reactions was that it is *leagues* ahead of Qt with regards to developer experience. You're not locked to an IDE, like with QtCreator, and the ui

Re: [Interest] What are you using for continuous integration?

2019-02-13 Thread Bob Hood
On 2/12/2019 4:05 PM, Nuno Santos wrote: Hi, I’m curious about what you Qt heads are using for continuous integration. We have been using TeamCity (v9) for many years now to great effect.  We are using the "free" version, which is limited to only 3 agents, but running multiple servers

Re: [Interest] QFontDialog & macOS 10.14: Font family is always ".SF NS Text"

2019-01-29 Thread Bob Hood
Reported as a bug. On 1/26/2019 11:01 AM, Bob Hood wrote: I'm using QFontDialog on macOS 10.14 with Qt 5.11.1.  No matter what font family or point size I select, the QFont family() and toString() methods are returning only ".SF NS Text" for the family, and pointSize() only returns

[Interest] QFontDialog & macOS 10.14: Font family is always ".SF NS Text"

2019-01-26 Thread Bob Hood
I'm using QFontDialog on macOS 10.14 with Qt 5.11.1.  No matter what font family or point size I select, the QFont family() and toString() methods are returning only ".SF NS Text" for the family, and pointSize() only returns 13.  Under Windows, same code returns the correct family/point size.

Re: [Interest] Qt and Open SSL

2018-10-14 Thread Bob Hood
On 10/14/2018 6:42 PM, Christopher Probst wrote: Hello Everybody, To enable SSL support I have added my own compiled version of ssleay32.dll and libeay32.dll to the Qt lib path. It seems to work fine. My question regards these two other libs mentioned in the Qt documentation

Re: [Interest] Drawing a background image in QTreeWidget [SOLVED]

2018-08-06 Thread Bob Hood
eft, top, server_image);     painter.end(); QTreeWidget::paintEvent(event); event->accept(); } On 8/3/2018 12:31 PM, Bob Hood wrote: I am (whimsically) trying to draw a background image in a QTreeWidget.  I have this simple code working in a QTreeWidget subclass: Se

[Interest] Drawing a background image in QTreeWidget

2018-08-03 Thread Bob Hood
I am (whimsically) trying to draw a background image in a QTreeWidget.  I have this simple code working in a QTreeWidget subclass: SeatTree::SeatTree(const QString& prefix, QWidget *parent)     : QTreeWidget(parent) {     server_image =

Re: [Interest] Start windows desktop app from a service

2018-08-01 Thread Bob Hood
On 7/30/2018 8:33 AM, Duane via Interest wrote: I need to keep a desktop application running on a server.  I can detect that it's running but what's the best way to restart it using Qt?  This will mostly run on Windows and I expect issues running the service as admin and starting the

Re: [Interest] 5.11.1 link error with OpenSSL (Windows)

2018-07-26 Thread Bob Hood
On 7/26/2018 6:53 PM, Bob Hood wrote: On 7/26/2018 5:47 PM, Bob Hood wrote: I'm not using OPENSSL_LIBS to "override the default library names."  Perhaps I should do that and see if it changes the results. No.  Made no difference.  Same link errors. I'll try rebuilding the OSSL

Re: [Interest] 5.11.1 link error with OpenSSL (Windows)

2018-07-26 Thread Bob Hood
On 7/26/2018 5:47 PM, Bob Hood wrote: I'm not using OPENSSL_LIBS to "override the default library names."  Perhaps I should do that and see if it changes the results. No.  Made no difference.  Same link errors. I'll try rebuilding the OSSL

Re: [Interest] 5.11.1 link error with OpenSSL (Windows)

2018-07-26 Thread Bob Hood
On 7/26/2018 4:20 PM, Thiago Macieira wrote: On Thursday, 26 July 2018 14:56:13 PDT Bob Hood wrote: I'm trying three different versions of OpenSSL -- 1.0.2l, 1.0.2o, 1.1.0h -- First of all, three is wrong. There are only two that are valid: latest 1.0 and latest 1.1. Anything else

[Interest] 5.11.1 link error with OpenSSL (Windows)

2018-07-26 Thread Bob Hood
I'm trying three different versions of OpenSSL -- 1.0.2l, 1.0.2o, 1.1.0h -- and none of them will link correctly with Qt 5.11.1.  The "known issues" wiki page[1] indicates something with Linux that suggests installing an older version of OpenSSL (specifically, 1.0 is mentioned). Would this also

[Interest] QML: Authoritative guide

2018-02-24 Thread Bob Hood
Is "Qt5 Cadaques" ebook[1] still the most authoritative QML guide available? [1] http://qmlbook.github.io/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Building Qt 5.9 with Visual Studio 2017 and C++14 support

2018-02-18 Thread Bob Hood
On 2/18/2018 4:12 PM, Thiago Macieira wrote: On Sunday, 18 February 2018 14:55:20 PST Bob Hood wrote: Is there some special trick to getting Qt 5.9.4 to build with Visual Studio 2017 using C++14? No. C++14 is always enabled with MSVC 2017. That also means you can't turn it off, which in turn

Re: [Interest] QML vs Electron

2018-02-16 Thread Bob Hood
I want to thank all the respondents for such an interesting discussion. I think René made some interesting observations regarding the massive community support for JS in term of package managers, frameworks and UI toolkits.  I think that is something that really presents a high bar of entry

Re: [Interest] QML vs Electron

2018-02-14 Thread Bob Hood
On 2/14/2018 8:21 PM, Jason H wrote: Sent: Wednesday, February 14, 2018 at 8:45 PM From: "Bob Hood" <bho...@comcast.net> To: "Qt Interest" <interest@qt-project.org> Subject: [Interest] QML vs Electron I'm starting to see more and more software being written in

[Interest] QML vs Electron

2018-02-14 Thread Bob Hood
I'm starting to see more and more software being written in, or being ported to, Electron[1] (e.g., Skype's latest v8 update now uses Electron).  I know QML is supposed to be Qt's solution to cross-device development, so I'm wondering if anybody here has had opportunity to actually use both,

Re: [Interest] QFileDialog not localizing in Qt 5.4.2

2018-02-05 Thread Bob Hood
On 2/4/2018 9:14 PM, Thiago Macieira wrote: On domingo, 4 de fevereiro de 2018 11:52:20 PST Boudewijn Rempt wrote: On Sunday, 4 February 2018 18:44:52 CET Thiago Macieira wrote: On Sunday, 4 February 2018 09:32:24 PST Bob Hood wrote: Has anybody else had problems with this?Might I be doing

Re: [Interest] QFileDialog not localizing in Qt 5.4.2

2018-02-04 Thread Bob Hood
(Sorry for the late reply...on a plane all afternoon) On 2/4/2018 10:44 AM, Thiago Macieira wrote: On Sunday, 4 February 2018 09:32:24 PST Bob Hood wrote: Has anybody else had problems with this?Might I be doing something incorrectly? What OS is that? As Boudewjin points out, it is OS X

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Bob Hood
Ah, went to the wrong Google search result.  :) On 1/8/2018 2:10 PM, Jason H wrote: Sent: Monday, January 08, 2018 at 1:52 PM From: "Marian Beermann" <pub...@enkore.de> To: interest@qt-project.org Subject: Re: [Interest] Integrate crypto in Qt project On 08.01.2018 19:14

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Bob Hood
On 1/8/2018 8:39 AM, Jason H wrote: I've used CryptoCpp (as someone else mentioned) with Qt... The last release of that (5.6.5) was 15 months ago.  Might be a dead project. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] PostgreSQL cross compile for Pi

2017-10-09 Thread Bob Hood
On 10/9/2017 2:30 PM, Giuseppe D'Angelo wrote: Il 09/10/2017 21:37, Roland Hughes ha scritto: While we are on the topic, here is the lovely response. http://www.logikalsolutions.com/wordpress/wp-content/uploads/2017/10/Screenshot_20171009_143236.png No Sir By God! Not gonna look at a blog

Re: [Interest] Qt 5.9.0 and OpenSSL 1.1.0f

2017-05-31 Thread Bob Hood
On 5/31/2017 12:48 PM, Konstantin Tokarev wrote: 31.05.2017, 21:12, "Thiago Macieira" <thiago.macie...@intel.com>: On Wednesday, 31 May 2017 09:51:20 PDT Bob Hood wrote: However, when I try to build Qt 5.9.0 using OpenSSL 1.1.0f (current release) with this con

Re: [Interest] Qt 5.9.0 and OpenSSL 1.1.0f

2017-05-31 Thread Bob Hood
On 5/31/2017 12:12 PM, Thiago Macieira wrote: On Wednesday, 31 May 2017 09:51:20 PDT Bob Hood wrote: However, when I try to build Qt 5.9.0 using OpenSSL 1.1.0f (current release) with this configuration: 1.1 is not supported. Don't try. Well.. that would explain that. :) Thanks, Thiago

[Interest] Qt 5.9.0 and OpenSSL 1.1.0f

2017-05-31 Thread Bob Hood
I am building Qt 5.9.0 under Windows with OpenSSL. I have been building previous versions using OpenSSL 1.0.1h (the "heartbleed" patch). I am using this configurationwith Qt 5.9.0: Configure: configure -opensource -confirm-license -prefix Q:\Qt\5.9.0\64_dll -mp -release -nomake examples

Re: [Interest] Licensing PITA

2017-05-05 Thread Bob Hood
On 5/5/2017 12:03 AM, Rainer Wiesenfarth wrote: 2017-05-04 20:02 GMT+02:00 Bob Hood <bho...@comcast.net <mailto:bho...@comcast.net>>: I am trying to create a commercial, static build of 5.7.1 ​I ran into a similar problem with building a commercial Qt 5.6.x ​from the Git rep

Re: [Interest] Licensing PITA

2017-05-05 Thread Bob Hood
On 5/5/2017 4:11 AM, André Somers wrote: This sounds like exactly the kind of issue you'd contact your commercial support for? You're probably right, André. Licensed users who build Qt for themselves appear to hold "mythical creature" status. :)

[Interest] Licensing PITA

2017-05-04 Thread Bob Hood
I have a legitimate Qt license (just renewed, in fact). I am trying to create a commercial, static build of 5.7.1, and the build output keeps coming up with: Licensee License ID.. Product license.Preview Edition Expiry Date. I

Re: [Interest] Scaling QTextDocument into a drawing region

2017-02-18 Thread Bob Hood
I guess scaling the font is the best approach for this niche problem. I've decided an intelligent application of both font scaling and text eliding will solve the issueuntil something better comes along. On 2/17/2017 11:13 AM, Bob Hood wrote: I want to wrangle HTML-formatted text contained

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-19 Thread Bob Hood
On 1/19/2017 2:29 AM, Viktor Engelmann wrote: QSignalSpy::wait has a race condition though. When the signal is emitted from a different thread, it might come before you called .wait and then the wait will time out and return false (so it looks like the signal wasn't emitted). You can store

Re: [Interest] Doubt extending my app functions ability

2017-01-19 Thread Bob Hood
On 1/12/2017 6:23 AM, Ernesto wrote: Hello to everyone, My name is Ernesto. I am a beginner in Qt programming and I have an specifics problems whit my first big project (desktop app). Let me explain myself: I have to include plugins or add-ons to my application for new file format

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-18 Thread Bob Hood
On 1/18/2017 10:52 AM, Giuseppe D'Angelo wrote: Il 18/01/2017 18:16, Bob Hood ha scritto: Is QTest capable of testing deferred results--i.e., evaluating tests results after the even loop has run again--or can only synchronous actions be tested? I know people have used qWait

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-18 Thread Bob Hood
On 1/18/2017 10:28 AM, Konrad Rosenbaum wrote: Hi, On Wednesday, January 18, 2017 10:16:30 Bob Hood wrote: I'm trying to develop a unit test for an deferred signal; i.e. one that won't be emitted until the event loop has been allowed to run. The case looks like: void MyTest

[Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-18 Thread Bob Hood
I'm trying to develop a unit test for an deferred signal; i.e. one that won't be emitted until the event loop has been allowed to run. The case looks like: void MyTest::user_info_deferred() { QVERIFY(qnam_class_ptr != nullptr); QSignalSpy spy(qnam_class_ptr,

Re: [Interest] Finally about extends my app function ability

2017-01-16 Thread Bob Hood
On 1/15/2017 7:09 PM, Ernesto wrote: I can´t found an explanation of the differences of /reinterpret_cast/ and /dynamic_cast/, because I can´t found information about /reinterpret_cast/ in Qt Documentation (5.5.0 Qt version). These are purely C++ mechanisms, and have nothing to do

Re: [Interest] Doubt extending my app functions ability

2017-01-13 Thread Bob Hood
On 1/12/2017 4:33 PM, Ernesto wrote: Hello again, first, thanks to Bob Hood for his quickly reply. I understood your explanation about my second problem, but I have another issue writing your solution in an example project. I have a MainApp (QT Widgets project) and a Lib1 (C++ Static Library

Re: [Interest] Doubt extending my app functions ability

2017-01-12 Thread Bob Hood
On 1/12/2017 6:23 AM, Ernesto wrote: Hello to everyone, My name is Ernesto. I am a beginner in Qt programming and I have an specifics problems whit my first big project (desktop app). Let me explain myself: I have to include plugins or add-ons to my application for new file format types;

Re: [Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Bob Hood
On 1/5/2017 8:51 AM, william.croc...@analog.com wrote: On 01/05/2017 10:29 AM, Bob Hood wrote: On 1/5/2017 8:03 AM, Jason H wrote: The mantra is to use QML. I just wrote a wonderful utility using Qt 5.6.2 and Widgets for the desktop, and there's no hint of QML in it. It functions

Re: [Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Bob Hood
On 1/5/2017 8:03 AM, Jason H wrote: The mantra is to use QML. I just wrote a wonderful utility using Qt 5.6.2 and Widgets for the desktop, and there's no hint of QML in it. It functions beautifully, is easily maintainable, and even has full animations. I don't think the mantra is QML.

Re: [Interest] QtDesigner needs redesign.

2017-01-03 Thread Bob Hood
On 1/3/2017 10:26 AM, André Pönitz wrote: My *personal* approach is to use Desiner only to play around to get layout and resizing behaviour right, but re-do the actual implementation in code, either from scratch or based on uic output. Indeed, this is precisely how I use it in my workflow as

Re: [Interest] Progressive decay of QNAM/QNetworkReply

2016-12-21 Thread Bob Hood
On 12/21/2016 7:34 PM, Thiago Macieira wrote: Em quarta-feira, 21 de dezembro de 2016, às 18:51:41 BRST, Bob Hood escreveu: The URL is a REST API, and uses HTTPS. Do you have the OpenSSL libraries installed, if you're on Linux or Windows? I feel like an idiot. All three versions of Qt

[Interest] Progressive decay of QNAM/QNetworkReply

2016-12-21 Thread Bob Hood
I have several projects that use QNAM/QNetworkReply pretty heavily. They were developed using Qt 5.4.2, and the networking works flawlessly. However, I switched to Qt 5.6.2 and my networking stopped working. No errors, my slots weren't even being invoked. The request just appears to vanish

Re: [Interest] Odd behavior with QTcpSocket::waitForReadyRead()

2016-12-19 Thread Bob Hood
g stack's more "reasonable" timeout values, but it still seems odd that it would not wait even fractions of a second for communications to complete. Anyway, side-stepping the problem... On 12/19/2016 4:38 PM, Bob Hood wrote: I'm porting a TCP/IP client from wxWdigets to Qt. I've t

[Interest] Odd behavior with QTcpSocket::waitForReadyRead()

2016-12-19 Thread Bob Hood
I'm porting a TCP/IP client from wxWdigets to Qt. I've tried this under both 5.4.2 and 5.6.2. I have a user-configured timeout value for network reads. The default is 300 seconds (5 minutes). I am feeding that to QTcpSocket::waitForReadyRead(), and it's basically ignoring--worse, it's

Re: [Interest] Gluing windows to the bottom [SOLVED]

2016-12-08 Thread Bob Hood
w = GetNextWindow(w, GW_HWNDNEXT); } auto pwpos = (WINDOWPOS*)msg->lParam; pwpos->hwndInsertAfter = bottom; pwpos->flags &= (~SWP_NOZORDER); // fall through to the return } } } return false; } On 1

[Interest] Gluing windows to the bottom

2016-12-05 Thread Bob Hood
Ok, here's another one for the brain trust... I'm creating windows in a tasktray application (Windows 7 64-bit). These "child" windows inherit from QWidget and are not parented, but they are being created by the main application. I can "glue" them to the screen (i.e., top of Z order) using

Re: [Interest] C++11 enum class and QSettings

2016-12-05 Thread Bob Hood
On 12/5/2016 12:48 AM, Michael Sué wrote: Hi, with a enum class you'll need to give the type explicitly, as there is no auto-conversion to int: settings.setValue("report.stacking", QVariant::fromValue(report_stacking)); The same with QVariant::value: var.value(); Thanks, Michael

[Interest] C++11 enum class and QSettings

2016-12-04 Thread Bob Hood
I'm trying to save a C++11 enum class value in a QSettings. In a header I have: #include enum class ReportStacking { Stacked, Intermixed }; Q_DECLARE_METATYPE(ReportStacking) And then in the module, using a data member of this type: ReportStacking

Re: [Interest] Qt containers deprecated with 5.0?

2016-11-29 Thread Bob Hood
On 11/28/2016 11:43 PM, Burak Arslan wrote: On 11/28/16 12:54, André Somers wrote: there is nothing wrong with using std containers in a Qt application, Aren't qt-branded containers emit-friendly? AFAIK the meaty bits are refcounted which makes it a non-issue to pass them around from signals

Re: [Interest] Qt containers deprecated with 5.0?

2016-11-27 Thread Bob Hood
On 11/27/2016 12:58 PM, Thiago Macieira wrote: On domingo, 27 de novembro de 2016 10:32:23 PST Bob Hood wrote: "Historically, Qt used to provide functions which were direct equivalents of many STL algorithmic functions. Starting with Qt 5.0, you are instead encouraged to use dir

[Interest] Qt containers deprecated with 5.0?

2016-11-27 Thread Bob Hood
This is probably common knowledge, but I came across the following paragraph sited in a stackoverflow answer[1] from a page regarding Qt algorithms[2]: "Historically, Qt used to provide functions which were direct equivalents of many STL algorithmic functions. Starting with Qt 5.0, you are

Re: [Interest] QFutureWatcher not emitting signals

2016-11-23 Thread Bob Hood
these instances, and all should be well. Sorry to bother. On 11/23/2016 8:16 PM, Bob Hood wrote: I did some Googling about this, and found a LOT of hits about QFutureWatcher not emitting its signals (like finished()) when the QFuture it's watching completes. However, in all cases I've seen, people

[Interest] QFutureWatcher not emitting signals

2016-11-23 Thread Bob Hood
I did some Googling about this, and found a LOT of hits about QFutureWatcher not emitting its signals (like finished()) when the QFuture it's watching completes. However, in all cases I've seen, people were using an auto version of QFutureWatcher which dropped out of scope on them (i.e.,

Re: [Interest] TEMPLATE=lib creating executable config for Visual Studio project files

2016-11-12 Thread Bob Hood
On 11/12/2016 8:12 PM, Thiago Macieira wrote: On sábado, 12 de novembro de 2016 19:14:37 PST Bob Hood wrote: QMAKE isn't behaving the way I'm expecting. I've tried 4.8.6, 5.4.2 and 5.6.2, and this bare-bones QMAKE .pro file keeps generating Visual Studio project files (.vcproj and .vcxproj

[Interest] TEMPLATE=lib creating executable config for Visual Studio project files

2016-11-12 Thread Bob Hood
QMAKE isn't behaving the way I'm expecting. I've tried 4.8.6, 5.4.2 and 5.6.2, and this bare-bones QMAKE .pro file keeps generating Visual Studio project files (.vcproj and .vcxproj) that have an "Application" configuration with an ".exe" extension when I run "qmake -t vcapp": TARGET =

Re: [Interest] Qt and Dropbox API v2

2016-11-02 Thread Bob Hood
On 10/20/2016 5:29 PM, Bob Hood wrote: Anybody know of a library, either C++- or (preferably) Qt-based, that implements an interface to Dropbox using its new APIv2? I did it myself. https://github.com/b0bh00d/QtDropbox2 In case anybody else has a need to access Dropbox via Qt using APIv2

Re: [Interest] Issue compiling qt 5.6.2

2016-10-28 Thread Bob Hood
I just built full 5.6.2 in both release and debug in the last 24 hours, and I had no errors at all building it. This is under Windows using command line Visual Studio 2013 + jom w/ 24 threads. On 10/28/2016 1:23 PM, Etienne Sandré-Chardonnal wrote: Dear all, I'm trying to switch from Qt

[Interest] Qt and Dropbox API v2

2016-10-20 Thread Bob Hood
Anybody know of a library, either C++- or (preferably) Qt-based, that implements an interface to Dropbox using its new APIv2? I'm trying to use the one by lycis[1], but it is implemented only for APIv1 and it's giving me some heartburn when I try to have my registered app use it for access.

Re: [Interest] What don't you like about Qt?

2016-10-16 Thread Bob Hood
On 10/15/2016 6:59 PM, Roland Hughes wrote: When you work off nothing but stories you are hacking on the fly... Ok, since I've responded to this before (perhaps this should be a different thread?), I'll jump in there again and clarify where /I'm/ coming from... First, let me say I embrace

Re: [Interest] What don't you like about Qt?

2016-10-04 Thread Bob Hood
On 10/4/2016 8:03 AM, Jason H wrote: I think the bigger issue, that many people have expressed here, but not said as such, is the Qt release cycle is not Agile. As more teams adopt Agile development practices... http://www.linkedin.com/pulse/agile-dead-matthew-kern Like Spiral from whence

Re: [Interest] What don't you like about Qt?

2016-09-18 Thread Bob Hood
On 9/18/2016 2:43 AM, Jean-Michaël Celerier wrote: Some things that bother me : * Features being QML-only instead of being usable from C++. I like coding in C++ (but I agree it's hard). This is certainly arguable. For some, I guess coding in C++ is hard. For others, it's as natural as

Re: [Interest] Is Qt/QML suitable for me?

2016-08-30 Thread Bob Hood
On 8/30/2016 1:11 PM, Артур Истомин wrote: I want to convert my POS (point of sale) software (long ugly shell-scripts) to GUI-software for mobile (Android) and desktop (Linux/Windows) devices. I don't know C++ but know some JS. So is it possible to write my application, POS, entirely on

Re: [Interest] FLex / Bison and QT4 4.8.1 Win32 interaction

2016-07-07 Thread Bob Hood
On 7/7/2016 8:26 PM, william.croc...@analog.com wrote: On 07/07/2016 08:01 PM, Fabio Giovagnini wrote: Thanks Frank. So you suggest to build from the sources. I' try. Thanks again I suggest you just take the weekend and write your own parser and lexical analysis, void of Flex and Bison. I

Re: [Interest] Help with Qt 5.6.1-1 32-bit build errors

2016-07-07 Thread Bob Hood
you try re-running nmake/jom after you got this error? On Thu, Jul 7, 2016 at 10:57 AM, Bob Hood <bho...@comcast.net <mailto:bho...@comcast.net>>wrote: I'm trying to build Qt 5.6.1-1 32-bit licensed static using Visual Studio 2013. I am configuring with the follo

[Interest] Help with Qt 5.6.1-1 32-bit build errors

2016-07-07 Thread Bob Hood
I'm trying to build Qt 5.6.1-1 32-bit licensed static using Visual Studio 2013. I am configuring with the following command: configure -commercial -confirm-license -static -prefix Q:\Qt\5.6.1\32_static -mp -release -nomake examples -no-qml-debug -no-compile-examples -nomake tests

Re: [Interest] QUndoStack

2016-06-24 Thread Bob Hood
On 6/24/2016 9:42 AM, Alan Ezust wrote: There is another thread on this very subject from last week: http://lists.qt-project.org/pipermail/interest/2016-June/023114.html http://lists.qt-project.org/pipermail/interest/2016-June/023116.html I agree with you, the QUndoStack design is really odd

Re: [Interest] deploying translatations when cross-compiling

2016-05-08 Thread Bob Hood
On 5/8/2016 5:06 AM, Boudewijn Rempt wrote: I'm building my project on Linux, using mxe, for Windows. When I package everything up, I copy all the Qt translations into a "translations folder in the folder where my application exe is, but the Qt transaltions aren't used: krita/bin/krita.exe

Re: [Interest] Any known issues with rDNS lookups on OS X?

2016-04-11 Thread Bob Hood
On 4/11/2016 8:09 PM, Thiago Macieira wrote: On segunda-feira, 11 de abril de 2016 19:11:37 PDT Bob Hood wrote: I'm using Qt 5.4.2 code to retrieve a connected machine's hostname (via QHostInfo::lookupHost()). The code works perfectly under Windows, but fails under OS X. I get the hostname

[Interest] Any known issues with rDNS lookups on OS X?

2016-04-11 Thread Bob Hood
I'm using Qt 5.4.2 code to retrieve a connected machine's hostname (via QHostInfo::lookupHost()). The code works perfectly under Windows, but fails under OS X. I get the hostname under Windows, but I'm left with only the connections network address on OS X. Does anybody know of any existing

Re: [Interest] CLion to replace QtCreator?

2016-04-03 Thread Bob Hood
On 4/3/2016 1:41 PM, Emre Besirik wrote: On 03 Apr 2016, at 22:18, Bob Hood <bho...@comcast.net <mailto:bho...@comcast.net>> wrote: On 4/3/2016 12:07 PM, Emre Besirik wrote: Hello list, I know its a little bit off-topic but I was wondering your ideas about the unpleasentne

Re: [Interest] CLion to replace QtCreator?

2016-04-03 Thread Bob Hood
On 4/3/2016 12:07 PM, Emre Besirik wrote: Hello list, I know its a little bit off-topic but I was wondering your ideas about the unpleasentness of coding with QtCreator (no offense, I respect the creators of the original IDE but..) So there is this; https://youtrack.jetbrains.com/issue/CPP-318

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Bob Hood
On 3/16/2016 3:37 PM, André Pönitz wrote: On Wed, Mar 16, 2016 at 02:31:33PM +, Gian Maxera wrote: I can connect to Foo::bar either way. If I don't intend to ever use the old-style connect syntax, is there a reason to have "public slots:" anymore? One reason that for me it’s fundamental:

Re: [Interest] Are slots even needed these days?

2016-03-19 Thread Bob Hood
On 3/16/2016 5:02 PM, Scott Aron Bloom wrote: I find them both pretty bad L… I have spent too much time, looking at other people’s code trying to figure out “why” it wont connect, only to realize someone had snuck in a “private:” second so moc didn’t generate the slot information. I prefer

Re: [Interest] Speeding up linking for iOS?

2016-02-15 Thread Bob Hood
On 2/15/2016 3:00 PM, Thiago Macieira wrote: On segunda-feira, 15 de fevereiro de 2016 18:24:48 PST Jason H wrote: It takes forever for my app to link for iOS. Is there anyway to speed this up? Upgrade to 5.7 and start using the shared library build of Qt for iOS. 5.7? Did I miss an entire

Re: [Interest] Local version control with Qt Creator on Linux

2016-01-28 Thread Bob Hood
On 1/28/2016 2:55 PM, Bernhard Lindner wrote: What version management software should I try to install in your opinion? Mercurial. https://www.mercurial-scm.org/ It has a lot of the features of git, but it's design decisions actually makes sense, especially if you're coming from

[Interest] [SOLVED] QSystemTrayIcon under OS X

2016-01-26 Thread Bob Hood
Found it. Need to add: LSUIElement to the Info.plist for the application, and it hides the launcher presence and the system menu. The task tray icon still displays. On 1/26/2016 3:18 PM, Bob Hood wrote: Hey, guys. I have a small "helper" Qt application that just ad

[Interest] QSystemTrayIcon under OS X

2016-01-26 Thread Bob Hood
Hey, guys. I have a small "helper" Qt application that just adds an icon to the Windows task tray, and manages the life cycle of a process intended to run in the background. This "helper" is just a convenient interface for the user. It works fine under Windows. Appears in the task tray,

Re: [Interest] SOLVED: QStyledItemDelegate's sizeHint() height being ignored by QTableWidget?

2016-01-04 Thread Bob Hood
On 1/4/2016 8:38 AM, Elvis Stansvik wrote: 2016-01-04 16:19 GMT+01:00 Bob Hood <bho...@comcast.net>: On 1/3/2016 7:30 PM, Bob Hood wrote: Am I going to have to use a QTableView with a model in order to get the height I need in each cell, or might this be a bug? Since all my

Re: [Interest] SOLVED: QStyledItemDelegate's sizeHint() height being ignored by QTableWidget?

2016-01-04 Thread Bob Hood
On 1/3/2016 7:30 PM, Bob Hood wrote: Am I going to have to use a QTableView with a model in order to get the height I need in each cell, or might this be a bug? Since all my images are the same height, I solved this by directly calling QTableWidget's inherited method setRowHeight(). This has

[Interest] QStyledItemDelegate's sizeHint() height being ignored by QTableWidget?

2016-01-03 Thread Bob Hood
I'm using a QTableWidget (Qt 5.4.2) to display QImages in each cell of the table. I'm using a QStyledItemDelegate for the table, and it overrides paint() and sizeHint(). Each QImage has been already been scaled from the original to 160x120, resulting in 160x108 due to maintaining aspect. I'm

  1   2   3   >