Re: [Interest] Can't add PySide2

2019-09-11 Thread Tom Isaacson
to have fixed it, so must have been a Pipenv problem. Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] Can't add PySide2

2019-09-10 Thread Tom Isaacson
added: from PySide2.QtCore import QSettings to my Python file. But when I try to run VSCode says: "Exception has occurred: ModuleNotFoundError" No module named 'PySide2' It's loading the other modules from Pipenv fine. Does anyone have any suggestions? Tom Isaacson

[Interest] Why does Q_ENUM() need qRegisterMetaType()?

2019-06-30 Thread Tom Isaacson
).value(); EXPECT_EQ(tColoredObjectV3::eColor::Blue, color); // verify the first argument } But this fails - I have to uncomment the qRegisterMetaType() to get it to work. If I use the old Q_DECLARE_METATYPE() this works. Am I doing something wrong or does Q_ENUM() require this? Tom Isaacson

Re: [Interest] Translating JSON files

2019-06-17 Thread Tom Isaacson
; not an option at this point. I make the text an array of structs, one for each language: "displayText": [ { "language": "en", "text": "English" }, { "language": "fr", "text": "Francais&

[Interest] Set a timer for a different thread

2019-04-24 Thread Tom Isaacson
. I assume because the constructor sets the timer before the class is moved to the thread, the timer is firing on the wrong thread. Obviously I can move the timer to a different function then call that after moveToThread() but is there a standard way of fixing this? Tom Isaacson

[Interest] WebAuthn support

2019-04-06 Thread Tom Isaacson
I was trying to find whether Qt supports WebAuthn but all I could find is this list of missing use cases for QtWebEngine: https://wiki.qt.io/QtWebEngine/UseCases Is there anything else, does it just require an example or is it still to be implemented? Tom Isaacson

[Interest] Q_ENUM and qRegisterMetaType()

2019-01-14 Thread Tom Isaacson
I thought replacing Q_DECLARE_METATYPE with Q_ENUM removed the need to call qRegisterMetaType() as well, but having done so I'm now getting an error when I call emit(). Have I misunderstood this? Tom Isaacson ___ Interest mailing list Interest@qt

Re: [Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-30 Thread Tom Isaacson
>On 19/12/2018 11:09, Tom Isaacson wrote: >> Is it possible to use QMetaEnum::keyCount() to initialise an array? >> Something like: >> >>     const QMetaEnum metaEnum = QMetaEnum::fromType(); >>     int MyArray[metaEnum.keyCount()]; >> >

[Interest] Use QMetaEnum::keyCount() to initialise array

2018-12-19 Thread Tom Isaacson
. Tom Isaacson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Q_ENUM doesn't work for private enums

2018-10-26 Thread Tom Isaacson
I thought that must be it, just surprised it's not mentioned in the documentation: https://doc.qt.io/qt-5/qobject.html#Q_ENUM Tom Isaacson -Original Message- From: Interest On Behalf Of Henry Skoglund Sent: Saturday, 27 October 2018 15:20 To: interest@qt-project.org Subject: Re

[Interest] Q_ENUM doesn't work for private enums

2018-10-26 Thread Tom Isaacson
(): error C2248: 'tClass::eMode': cannot access private enum declared in class 'tClass' tclass.h(348): note: see declaration of 'tClass:: eMode' tclass.h(): note: see declaration of 'tClass Is this a known limitation of Q_ENUM? Is it fixed in later versions of Qt? Thanks. Tom Isaacson

[Interest] Detecting subdirectories in QDir

2018-07-11 Thread Tom Isaacson via Interest
Is there any way of finding if one QDir is a subdirectory of another? So for instance: C:\One\Two\Three is a subdirectory of: C:\One\Two but not of: C:\One\Four Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt

Re: [Interest] Qt Network Authorization example redirect URI

2018-06-02 Thread Tom Isaacson via Interest
Thanks, that means it's not just something that I've done. I'll raise it with Qt. Tom Isaacson -Original Message- From: coroberti . Sent: Sunday, 3 June 2018 15:51 To: Tom Isaacson ; Interest@qt-project.org Subject: Re: [Interest] Qt Network Authorization example redirect URI Hi Tom

Re: [Interest] Qt Network Authorization example redirect URI

2018-06-02 Thread Tom Isaacson via Interest
(): stage = RequestingAccessToken qt.networkauth.oauth2: Unexpected call Has anyone got this to work? I'm wondering if Reddit have changed something since this example was published. Tom Isaacson -Original Message- From: Interest On Behalf Of Tom Isaacson via Interest Sent: Sunday, 27

Re: [Interest] Qt Network Authorization example redirect URI

2018-05-26 Thread Tom Isaacson via Interest
Isaacson -Original Message- From: Interest <interest-bounces+tom.isaacson=navico@qt-project.org> On Behalf Of Tom Isaacson via Interest Sent: Sunday, 27 May 2018 12:21 To: Interest@qt-project.org Subject: [Interest] Qt Network Authorization example redirect URI I've installed Qt

[Interest] Qt Network Authorization example redirect URI

2018-05-26 Thread Tom Isaacson via Interest
know what the correct setting is? Also, someone should really update the example to explain this better! Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Maximum URL length

2018-03-14 Thread Tom Isaacson via Interest
Is there a maxiumum URL length, either in QUrl or Qt WebEngine? There doesn’t seem to be a standard for maximum URL length, it's implementation specific. Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt

[Interest] Using connect/disconnect with lambdas

2018-02-18 Thread Tom Isaacson via Interest
NameAct, ::triggered, this, [this]() { RouteEditName(); }); This seems like it's trying to disconnect from a different lambda to the one I originally connected to. Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt

Re: [Interest] Lifetime of QNetworkReply from QNetworkAccessManager

2018-01-29 Thread Tom Isaacson
Nothing. But Visual Studio says the QNetworkReply pointer is set to 0xfeeefeee so someone's freeing it. On segunda-feira, 29 de janeiro de 2018 20:06:37 PST Tom Isaacson wrote: > Ah thanks! Now I just have to figure out why calling deleteLater() is > causing a crash... What does valgri

Re: [Interest] Lifetime of QNetworkReply from QNetworkAccessManager

2018-01-29 Thread Tom Isaacson
Ah thanks! Now I just have to figure out why calling deleteLater() is causing a crash... On 30/01/18, 4:48 PM, "Jason H" <jh...@gmx.com> wrote: > Sent: Monday, January 29, 2018 at 10:44 PM > From: "Tom Isaacson" <tom.isaac...@navico.com&

[Interest] Lifetime of QNetworkReply from QNetworkAccessManager

2018-01-29 Thread Tom Isaacson
, if the QNetworkAccessManager lasts for the lifetime of my application are all the QNetworkReply's going to take memory for the lifetime of the app? I'd expect this to be covered in the documentation but I can't see anything: https://doc.qt.io/qt-5/qnetworkaccessmanager.html#head Thanks, Tom Isaacson

Re: [Interest] Multiple QNetworkAccessManagers for a single app

2018-01-11 Thread Tom Isaacson
But is it a performance issue, a potential threading problem, what? We have a large codebase and this practice hasn't been followed, I'm wondering what the potential impact is and whether it's worth fixing. Thanks. Tom Isaacson On Wednesday, 10 January 2018 20:26:16 PST Tom Isaacson wrote

[Interest] Multiple QNetworkAccessManagers for a single app

2018-01-10 Thread Tom Isaacson
practice? Thanks Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QWebSocket support for SSL

2017-08-20 Thread Tom Isaacson
-example.html but it loads two files localhost.cert and localhost.key. Where do these come from? Is there a tutorial or blog post that explains how they're generated? Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt

[Interest] Using VS2017 Code Analysis with Qt

2017-06-19 Thread Tom Isaacson
- I haven't verified this. The answer is also here for future reference: https://stackoverflow.com/questions/43755499/suppress-warnings-for-external-headers-in-vs2017-code-analysis Tom Isaacson ___ Interest mailing list Interest@qt-project.org http

Re: [Interest] Support for Visual Studio 2017

2017-03-09 Thread Tom Isaacson
t make any difference. I tried following the uninstall instructions here: https://github.com/github/VisualStudio/issues/864 but I can't find a directory for the addin and C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\extensions.configurationchanged is empty. To

Re: [Interest] Support for Visual Studio 2017

2017-03-09 Thread Tom Isaacson
ion extension, InstallFlags installFlags, AsyncOperation asyncOp) Tom Isaacson -Original Message- From: Karsten Heimrich [mailto:karsten.heimr...@qt.io] Sent: Thursday, 9 March 2017 23:22 To: Tom Isaacson <tom.isaac...@navico.com>; Qt Interest <interest@qt-project.org> Subject:

Re: [Interest] Support for Visual Studio 2017

2017-03-08 Thread Tom Isaacson
Thanks. Keep up at https://bugreports.qt.io/browse/QTVSADDINBUG-459 Tom Isaacson -Original Message- From: Interest [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Karsten Heimrich Sent: Thursday, 9 March 2017 05:33 To: Qt Interest <interest@qt-project.

Re: [Interest] Support for Visual Studio 2017

2017-03-07 Thread Tom Isaacson
*crickets* Visual Studio 2017 is being released today. Does anyone know if there's a plan to add support to the Qt Visual Studio Plug-In? Tom Isaacson -Original Message- From: Interest [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Tom Isaacson Sent

Re: [Interest] Support for Visual Studio 2017

2017-02-26 Thread Tom Isaacson
https://codereview.qt-project.org/#/c/177499 Once we did some more testing, I will upload an RC at download.qt.io." Does anyone know if this happened? Tom Isaacson -Original Message- From: Interest [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Constant

Re: [Interest] Support for Visual Studio 2017

2017-02-24 Thread Tom Isaacson
d with previous versions all the way back to 2015 RTM, and things will continue to work (although you won't necessarily activate fixes in the newer version). For more info, read the comments on https://blogs.msdn.microsoft.com/vcblog/2016/08/24/c1417-fea... where I mentioned WCFB02.

Re: [Interest] Support for Visual Studio 2017

2017-02-24 Thread Tom Isaacson
I had the prebuilt VS2015 libraries downloaded and installed and I was able to rebuild and run our app in VS2017. I didn't have to rebuild Qt myself. Tom Isaacson -Original Message- From: Interest [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Harri

Re: [Interest] Support for Visual Studio 2017

2017-02-23 Thread Tom Isaacson
It worked for me; I was able to run our VS2015 app in VS2017 with no problems. Tom Isaacson -Original Message- From: Interest [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Thiago Macieira Sent: Friday, 24 February 2017 06:04 To: interest@qt-project.org

[Interest] Migrating QWeakPointer to Qt5

2016-05-05 Thread Tom Isaacson
kPointer to a QPointer but now I'm getting: error C2440: 'static_cast' : cannot convert from 'QObject *' to MyClass *' (GeneratedFiles\Debug\moc_MyCode.cpp) Is there a recommended method for migrating the use of QWeakPointer into Qt5? Thanks. Tom

[Interest] How to login to a website then call an API from the app

2016-04-01 Thread Tom Isaacson
it locally) and logging in via an API call? Or should we be looking at something like OAuth? Thanks for any assistance. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Displaying virtual keyboard in QWebEngine

2016-01-26 Thread Tom Isaacson
but plan to move to Qt 5.6 when it's released - are there any improvements for this? Can this be done with the Qt Virtual Keyboard? Thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt5.6 not recognised by Visual Studio 2015

2016-01-05 Thread Tom Isaacson
been split into two files? -Original Message- From: Kalinowski Maurice [mailto:maurice.kalinow...@theqtcompany.com] Sent: Tuesday, 5 January 2016 7:19 p.m. To: Tom Isaacson <tom.isaac...@navico.com>; Interest@qt-project.org Subject: RE: Qt5.6 not recognised by Visual Studio 2015

Re: [Interest] Qt5.6 not recognised by Visual Studio 2015

2016-01-05 Thread Tom Isaacson
> Yes, it happened for a reason ;) > > The idea is to synchronize settings between classic and WinRT applications. > The change is here: https://codereview.qt-project.org/#/c/124917/ > > If Qt5Package is not able to follow includes, then that should be fixed as it > is likely to break elsewhere

[Interest] Qt5.6 not recognised by Visual Studio 2015

2016-01-04 Thread Tom Isaacson
generator (used: MSVC.NETMSBUILD, supported: MSVC.NET, MSBUILD)". It looks like the beta is reporting the build tool used incorrectly. Is there a simple way I can fix this? Also, is it logged as a bug? Thanks. Tom Isaacson ___ Interest mailing list Int

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-04 Thread Tom Isaacson
> Fixed in https://codereview.qt-project.org/142861. > > It now reports: > > Interface: "vlan0" > index: 14 > flags: Up,Running,Broadcast,Multicast > type: QNetworkInterface::InterfaceType(Ethernet) > hw address: 5C:51:4F:7C:49:F8 > address 0:

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-02 Thread Tom Isaacson
>Can you show me your code? // loop through and find the network interface that matches the mac we used... QList ifList = QNetworkInterface::allInterfaces(); for (QList::const_iterator i = ifList.constBegin(); i != ifList.constEnd(); ++i) { if(i->hardwareAddress() == mac)

[Interest] QNetworkInterface working differently on Qt5?

2015-12-01 Thread Tom Isaacson
the IP addresses. This works fine on Qt 4.8.2 but since we moved to Qt 5.5.1 we're only getting the zeroconfig address from eth0. Has QNetworkInterface changed in Qt5 or is this a known bug? Thanks, Tom Isaacson ___ Interest mailing list Interest@qt

Re: [Interest] QNetworkInterface working differently on Qt5?

2015-12-01 Thread Tom Isaacson
Did a bit more debugging and it seems that QNetworkInterface:: allAddresses() does return all the IP addresses but QNetworkInterface::addressEntries() only returns 1. >We have an embedded Linux device setup to get two IP addresses like this: > ># ifconfig >eth0 Link encap:Ethernet HWaddr

Re: [Interest] Qt support for strongly-typed enums

2015-11-20 Thread Tom Isaacson
>Strongly-typed enums need to be used as a completely separate type. You need >to declare them as metatypes, load them into a QVariant using >>QVariant::fromValue and retrieve using qvariant_cast(). When you say completely separate do you mean the enum can't be part of a class? The code I'm

[Interest] Qt support for strongly-typed enums

2015-11-20 Thread Tom Isaacson
me wonder - is this best practice or is there a Qt way of declaring a strongly-typed enum that's compatible with the likes of QVariant? Thanks, Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt support for strongly-typed enums

2015-11-20 Thread Tom Isaacson
>Strongly-typed enums need to be used as a completely separate type. You need >to declare them as metatypes, load them into a QVariant using >>QVariant::fromValue and retrieve using qvariant_cast(). Sorry, ignore my last email - that works fine. Thanks!

[Interest] Migrating QVectorTypedData from Qt 4.8.2 to 5

2015-06-17 Thread Tom Isaacson
I'm trying to migrate some code from Qt 4.8.2 to Qt 5.4.2 but a previous developer has used QVectorTypedData. I can't find any reference to this in the documentation. Is there a guide somewhere how to migrate this to Qt 5.4.2? Thanks. Tom Isaacson

Re: [Interest] Bluetooth support in Qt WebEngine

2015-06-12 Thread Tom Isaacson
. This shows No connected devices. I don't have a Bluetooth LE device to search for but I'm hoping the fact that it didn't just show an error means the API is supported. Tom Isaacson From: Tom Isaacson Sent: Friday, 12 June 2015 4:13 a.m. To: Interest@qt-project.org Subject: [Interest] Bluetooth

[Interest] Bluetooth support in Qt WebEngine

2015-06-11 Thread Tom Isaacson
for Bluetooth from HTML5/JS? Thanks, Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QExifImageHeader source

2015-02-02 Thread Tom Isaacson
What's QExifImageHeader got do to with rotation? I want to read and write Exif data in JPG images. Tom -Original Message- From: Rainer Keller [mailto:rainer.kel...@theqtcompany.com] Sent: Monday, 2 February 2015 10:01 p.m. To: Tom Isaacson; Interest@qt-project.org Subject: Re

Re: [Interest] QExifImageHeader source

2015-01-31 Thread Tom Isaacson
: http://www.sigvdr.de/Code/QExifImageHeader/QExifImageHeader.html Is that it? Or did Qt Extended end up somewhere else? Tom -Original Message- From: interest-bounces+tom.isaacson=navico@qt-project.org [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Tom

[Interest] QExifImageHeader source

2015-01-26 Thread Tom Isaacson
Does anyone know where the latest source for QExifImageHeader is? I can't find a definitive location. Thanks, Tom ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Using QMediaPlayer with Ogg Vorbis on Win7

2014-07-17 Thread Tom Isaacson
So the only option is to switch compiler? Why did Qt make the switch to Media Foundation if there are less codecs for it? What about using VideoSurface? Tom Isaacson From: phil.hann...@gmail.com [mailto:phil.hann...@gmail.com] On Behalf Of Phil Hannent Sent: Monday, 14 July 2014 9:51 p.m

[Interest] Using QMediaPlayer with Ogg Vorbis on Win7

2014-07-13 Thread Tom Isaacson
) doesn't support rendering to widgets. So is what I'm trying to do impossible with Win7? Or is there still an issue with the codec I need to fix first? What about using VideoSurface? Thanks, Tom Isaacson ___ Interest mailing list Interest@qt

Re: [Interest] Simple UDP listener question

2014-06-23 Thread Tom Isaacson
() + QString(: ) + dynamic_castQUdpSocket *(sender())-errorString()); } Tom Isaacson -Original Message- From: interest-bounces+tom.isaacson=navico@qt-project.org [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Robert Wood Sent: Tuesday, 24 June 2014 12:03

[Interest] How to trust certificates for QWebPage

2014-05-26 Thread Tom Isaacson
-ssl-pages-on-windows-qt-4-8-mingw.html Any suggestions would be a great help, thanks. Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] How to trust certificates for QWebPage

2014-05-26 Thread Tom Isaacson
the QNetworkAccessManager that you're using to load the content for your QWebPage and get its QSslConfiguration. Finally use setCaCertificate on the configuration to tell it to trust certificates signed by your custom CA. Cheers Rich. On 26 May 2014 11:30, Tom Isaacson tom.isaac...@navico.com

Re: [Interest] How to trust certificates for QWebPage

2014-05-26 Thread Tom Isaacson
certificates for QWebPage Em seg 26 maio 2014, às 18:42:31, Tom Isaacson escreveu: I don't understand that first sentence. What do you mean by your server? If I'm trying to use https on, for example, Twitter, how do I create a certificate for it? You don't. It already has a certificate that is signed

Re: [Interest] How to trust certificates for QWebPage

2014-05-26 Thread Tom Isaacson
Thanks for that. So why is it if I try to open Twitter in my browser I get error 6 SSL handshake failed? Tom Isaacson -Original Message- From: interest-bounces+tom.isaacson=navico@qt-project.org [mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of Bob Hood

Re: [Interest] How to trust certificates for QWebPage

2014-05-26 Thread Tom Isaacson
That's the point - it's our distro because we manufacture a device with embedded Linux but I don't know what certificates I need (if any) or where to get them. I've tried complaining to myself but I just refuse to listen :) Tom -Original Message- From:

[Interest] Creating a video feed or overlay

2014-03-28 Thread Tom Isaacson
I'm working on an app that reads data from a sensor then displays it on a graph using qwt. This part is working fine but what we want to do now is create a video feed of the graph that can be displayed in other apps. We'd also like to add the graph as an overlay to a video feed from a camera.

[Interest] QUdpSocket multicast on multiple network interfaces

2014-02-19 Thread Tom Isaacson
Qt to transmit on all available network interfaces. - Is this a known bug? If so, is it fixed in a later release? - Is this working as intended? Thanks, Tom Isaacson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman

Re: [Interest] QUdpSocket multicast on multiple network interfaces

2014-02-19 Thread Tom Isaacson
We're using Qt 4.8.2 on an embedded Linux device. We've always had Ethernet (eth0) and we use QUdpSocket to send a multicast message on the network: m_pUdpSocket = new QUdpSocket(this); m_pUdpSocket-writeDatagram(json.toAscii(), m_cMulticastAddr, m_cMulticastPort); It's working

Re: [Interest] Qt Webkit and HTML5 geolocation

2013-11-06 Thread Tom Isaacson
is not supported. I also tried linking with the sensors module from QtMobility for device orientation, and that did work, which makes me wonder why geolocation isn't working. Is there some specific way of getting Qt 4.8.2 Webkit to notice QtMobility? Thanks, Tom Isaacson

Re: [Interest] Qt Webkit and HTML5 geolocation

2013-10-20 Thread Tom Isaacson
is not supported. I also tried linking with the sensors module from QtMobility for device orientation, and that did work, which makes me wonder why geolocation isn't working. Is there some specific way of getting Qt 4.8.2 Webkit to notice QtMobility? Thanks, Tom Isaacson

Re: [Interest] Qt Webkit and HTML5 geolocation

2013-09-25 Thread Tom Isaacson
From: Aaron McCarthy [mccarthy.aa...@gmail.com] Sent: Monday, 23 September 2013 16:58 Are you sure? The reason why I ask is that your build log references the files ipc/qmetaobjectbuilder.cpp and ipc/qmetaobjectbuilder_p.h. Those files do not exist in ca1a2f8cab48b730c2e1962bef73c328ac42bb1e