Re: [Interest] QComboBox Signal void activated(const QString )

2020-10-19 Thread André Hartmann
Hi Robert, It is still there in 5.15, but deprecated. Please see https://doc.qt.io/qt-5/qcombobox-obsolete.html#activated-1 The reason to remove overloaded signals is to make functor-based connections easier. Best regards, André Am 19.10.20 um 10:32 schrieb coroberti: Hi, Documentation

Re: [Interest] Qt Creator: Find all usages of a class

2020-01-06 Thread André Hartmann
I stand corrected. According to https://github.com/CoatiSoftware/qtc-sourcetrail such a > plugin already exists, at least as source code. The binary builds are here: https://github.com/CoatiSoftware/qtc-sourcetrail/releases Hmm, need to try that. André Regards, André Am 06.01.20 um

Re: [Interest] Qt Creator: Find all usages of a class

2020-01-06 Thread André Hartmann
Hi, > Maybe they could integrate that tools into QtCreator somehow or > someone make a plugin and release it to the new QtCreator plugin > market. That would be nice. According to https://github.com/CoatiSoftware/qtc-sourcetrail such a plugin already exists, at least as source code. Regards,

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread André Hartmann
Hi Christian, A stock Android NDK has the kernel headers for CAN, but doesn't have libsocketcan. libsocketcan doesn't seem to be necessary, as per configure's output No, it is not mandatory. But for 5.14 it became optional (loaded at runtime) to provide additional information about the CAN

Re: [Interest] QtSerialBus on Android

2019-12-11 Thread André Hartmann
Hi Christian, QtSerialBus had a QtSerialPort dependency up to 5.12, which was removed in 5.13. So you can use QtSerialBus under Android now, at least the Modbus/TCP part. Modbus RTU is not available due to missing serial port, and from the CAN bus side you will most likely only be able to

Re: [Interest] need a QT 5.12.0 MinGW 32bit release for windows in all the upcoming QT versions

2018-12-20 Thread André Hartmann
Hi Markus, Is there any actual reason why you can't use the prebuilt MSVC binaries for MSVC 2017? E.g. the much simpler setup: With the Qt online installer, you can setup Qt, the compiler and debugger in one go and start coding in Creator afterwards. For MSVC, you have to install

Re: [Interest] need a QT 5.12.0 MinGW 32bit release for windows in all the upcoming QT versions

2018-12-17 Thread André Hartmann
+1 Am 17.12.18 um 12:44 schrieb Frank Hemer: +1 On Monday, 17 December 2018 08:11:34 CET Amr Kamal wrote: Hello, when Downloading the last version of QT 5.12.0 it only provides MinGW 64bit for windows which makes some problem with previous projects that used 32bit version especially if

Re: [Interest] Unable to run QtQuick TestCase from qrc resources

2018-04-25 Thread André Hartmann
Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Dipl.-Ing. (FH) André Hart

Re: [Interest] Two from one.

2018-02-08 Thread André Hartmann
Hi all, It *is* possible with QMake, if you accept to have two additional pro files: lib.pro for the library and the app.pro for the program. The main pro file then looks like this: TEMPLATE = subdirs SUBDIRS += \ lib \ app lib.file = lib.pro app.file = app.pro The lib.file

Re: [Interest] restoreOverrideCursor not working in 5.10

2018-02-04 Thread André Hartmann
Hi Bob, looks like QTBUG-65001 which should be fixed for 5.10.1. Regards, André https://bugreports.qt.io/browse/QTBUG-65001 Am 04.02.2018 um 06:44 schrieb Bob Babcock: I'm seeing restoreOverrideCursor() not working in Qt widget applications built with Qt 5.10 under Windows 7. The normal

Re: [Interest] ComboBox and Menu Changes in Qt 5.10 vs Qt 5.9.x

2018-01-04 Thread André Hartmann
Hi Michael, Am 05.01.2018 um 00:14 schrieb Michael Jackson: I have been testing our application against Qt 5.10.0 and I noticed some visual anomalies that I am unsure are bugs or intended design. The issues are with a QMenu attached to a QButton. In Qt 5.9.x there is a little triangle that

Re: [Interest] Building Qt apps on Ubuntu 17.10: GL/gl.h missing

2017-10-23 Thread André Hartmann
ementation/library that I should install? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Best regards / Mit freundlichen Grüßen André Hartmann, Dipl.-Ing. (FH) Software Project Man

Re: [Interest] [Development] First Qt 5.9.1 snapshot available

2017-06-28 Thread André Hartmann
Hi Jani, I've got two questions regarding the 5.9.1 release: 1. There have been no "changes file" templates provided so far. I guess this will lead to last-minute hectic if you want to release in June. It would be good to have such templates as soon as the release branch is created. 2. For

Re: [Interest] QMake

2017-05-08 Thread André Hartmann
Hi Igor, the trick is CONFIG-=debug_and_release BUT BE WARNED: This option is set by default, because on Windows debug and release object CANNOT be mixed. If you disable it, your'e on your own. Please see https://bugreports.qt.io/browse/QTBUG-52347 for more information on this. Best

[Interest] Cross compiling QtSerialPort 4 / serialport.prf questions

2017-01-18 Thread André Hartmann
Hi, We have a Yocto toolchain for embedded Linux images with Qt 4.8.6. The Qt receipes are from openembedded-core / recipes-qt. I now want to include QtSerialPort into this image without upgrading Qt. So I wrote my own bitbake recipe and can build QtSerialPort sucessfully. My problem is to

Re: [Interest] Qmake one-line Qt version checking?

2017-01-06 Thread André Hartmann
Hi Michael, Am 06.01.2017 um 13:34 schrieb Michael Sué: Hi, #if QT_VERSION < 0x050800 # error "This program requires Qt 5.8 or higher" #endif You can use: lessThan(QT_VERSION, 5.8.0): message(This program requires Qt 5.8 or higher) That works indeed - thank you very much! André -

[Interest] Qmake one-line Qt version checking?

2017-01-05 Thread André Hartmann
Hi, in C++ code I can do a Qt version comparison in one line like this: #if QT_VERSION < 0x050800 # error "This program requires Qt 5.8 or higher" #endif To do something similar in a .pro file, I have to use a construct like this: lessThan(QT_MAJOR_VERSION, 5): message("This program

Re: [Interest] [QtSerialBus] CAN & J1939

2016-08-15 Thread André Hartmann
ject.org http://lists.qt-project.org/mailman/listinfo/interest -- Best regards / Mit freundlichen Grüßen André Hartmann, Dipl.-Ing. (FH) Software Project Manager iseg Spezialelektronik GmbH | phone: ++49 (0)351 26996-43 Bautzner Landstr. 23| fax: ++49 (0)351 269

Re: [Interest] [QtSerialBus] [CAN] Blocking API planned?

2016-04-11 Thread André Hartmann
have converted your mail to: https://bugreports.qt.io/browse/QTBUG-52495 -- Alex From: Interest <interest-bounces+alexander.blasche=theqtcompany@qt-project.org> on behalf of André Hartmann <andre.hartm...@iseg-hv.de> Sent: Monday, April 11

[Interest] [QtSerialBus] [CAN] Blocking API planned?

2016-04-11 Thread André Hartmann
Hi all, right now the CAN bus API provides the signals framesReceived() and framesWritten(). For some cases, it's easier to have a thread that blocks until an event occurs. Therefore, the additional functions bool waitForFramesReceived(int msecs) bool

Re: [Interest] CLion to replace QtCreator?

2016-04-04 Thread André Hartmann
Hi all, 1. XML tags completion for known tags. This can be done for *.UI files, and maybe some part of *.QS. Basic XML structure is already know - so even for unknown XML variants - the IDE knows what tag to close. That would indeed be very cool. 2. Class implementations - for

Re: [Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread André Hartmann
-feira, 10 de março de 2016 09:10:49 PST André Hartmann wrote: Hi all, I'm working on a library that (optionally) depends on QSerialPort. This library should also compile on Qt 4, so I did the following in the project file: greaterThan(QT_MAJOR_VERSION, 4) { QT += serialp

[Interest] Qmake: Detecting if QSerialPort is installed

2016-03-10 Thread André Hartmann
Hi all, I'm working on a library that (optionally) depends on QSerialPort. This library should also compile on Qt 4, so I did the following in the project file: greaterThan(QT_MAJOR_VERSION, 4) { QT += serialport } else { CONFIG += serialport } Thats fine so far, but if

Re: [Interest] Qmake: execute two different link steps?

2015-12-04 Thread André Hartmann
the TARGET and the link lines, which is very nice. Thanks again and best regards, André Am 04.12.2015 um 13:28 schrieb Elvis Stansvik: 2015-12-04 7:12 GMT+01:00 André Hartmann <andre.hartm...@iseg-hv.de>: Hi Elvis and Konstantin, thanks for your suggestions. I think I will take the SUBDI

Re: [Interest] Qmake: execute two different link steps?

2015-12-03 Thread André Hartmann
...@gmail.com>: Hi André, 2015-12-03 10:51 GMT+01:00 André Hartmann <andre.hartm...@iseg-hv.de>: Hello, I have a Qmake based project that is developed in Qt Creator (currently compiled with Linux/gcc and Windows/MinGW). Depending on a configuration variable the PRO file my p

[Interest] Qmake: execute two different link steps?

2015-12-03 Thread André Hartmann
Hello, I have a Qmake based project that is developed in Qt Creator (currently compiled with Linux/gcc and Windows/MinGW). Depending on a configuration variable the PRO file my program links to one of two librarys: TARGET = myProg CONFIG += TESTLIB CONFIG(TESTLIB): LIBS += libXXXtest

[Interest] Getting QSerialBus from Git

2015-10-05 Thread André Hartmann
Hi List, I've followed the instructions from https://wiki.qt.io/Building_Qt_5_from_Git to get a recent snapshot of the Qt sources including QSerialBus. Unfortunately, a directory qtserialbus is created, but stays empty (I've tried branches 5.6 and dev). What do I have to do to get the

Re: [Interest] Getting QSerialBus from Git

2015-10-05 Thread André Hartmann
n run > >git submodule init qtserialbus > > to force fetching the sources. (I don't know which branch/combination is > supposed to compile, though ...) > > Regards > > Kai > -- Best regards / Mit freundlichen Grüßen André Hartmann, Dipl.-Ing. (FH) Software Project Man

Re: [Interest] Getting QSerialBus from Git

2015-10-05 Thread André Hartmann
Thanks for the pointer, I did a git submodule update --init qtserialbus and that worked. Regards, Andre Am 05.10.2015 um 10:36 schrieb Koehne Kai: > > >> -Original Message----- >> From: André Hartmann [mailto:andre.hartm...@iseg-hv.de] >> Sent: Monday, O

[Interest] Editable QComboBox: lineEdit-selectAll() changes currentIndex()

2014-09-11 Thread André Hartmann
Hi all, The following happens with Qt 4.8.2 and 5.2.0 under Windows 7. I have a QMainWindow with a QComboBox list, a QPushButton enter and a QTextEdit log (see snippet below). The combo box has insertPolicy = insertAtBottom and duplicatesEnabled = false and is empty. Now the following

[Interest] Update QComboBox items on opening the combo box

2014-06-30 Thread André Hartmann
SerialPortComboBox(QWidget *parent = 0); protected: virtual void focusInEvent(QFocusEvent *event); private: void updatePortList(); signals: public slots: }; #endif // SERIALPORTCOMBOBOX_H -- Best regards / Mit freundlichen Grüßen André Hartmann, Dipl.-Ing. (FH) Software Project Manager

Re: [Interest] Update QComboBox items on opening the combo box

2014-06-30 Thread André Hartmann
Hi Adam, thank you very much. This function is exactly what I need and it works fine. Best regards, Andre Am 30.06.2014 14:58, schrieb Adam Light: On Mon, Jun 30, 2014 at 2:36 AM, André Hartmann andre.hartm...@iseg-hv.de mailto:andre.hartm...@iseg-hv.de wrote: Hello all, I'd

Re: [Interest] QMake: customize MSVC linker options

2013-11-03 Thread André Hartmann
Partly answering my own question. Following lines in the pro file did the trick: CONFIG -= embed_manifest_exe QMAKE_LFLAGS_EXE = Hi all, I'm using the MS Visual C++ 10 Compiler under Windows 7 64 bit. I'd like to build simple C console applications with qmake istead of writing own