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
hen
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 Isaacs
rong or
does Q_ENUM() require this?
Tom Isaacson
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
o
> 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": "
ed on the wrong thread.
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
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
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
Intere
>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()];
>>
>>
work.
Tom Isaacson
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
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
Subjec
tclass.cpp(): 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
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
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 redir
ametersFunction(): 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 Inter
Ah, that was it! But the app still isn't displaying any data and I get the
error:
qt.networkauth.oauth2: Unexpected call
Tom Isaacson
From: Michael Corcoran
Sent: Sunday, 27 May 2018 15:11
To: Tom Isaacson via Interest ; Tom Isaacson
Subject: Re: Qt Network Authorization example red
e
it is?
Tom Isaacson
-Original Message-
From: Interest 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 5.10.1 and I'm trying to get the Reddi
anyone 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
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://lis
me()));
But how do I disconnect a lambda?
disconnect(m_pRouteEditNameAct, &tAction::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
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 v
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" wrote:
> Sent: Monday, January 29, 2018 at 10:44 PM
> From: "Tom Isaacson"
> To: "Interest@qt-project.org"
f 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
T
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
practice?
Thanks
Tom Isaacson
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
echoserver-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
CAExcludePath - 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
on doesn'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.configurationch
ableExtension
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 ; Qt Interest
Subject: RE: [Interest] Support for Visual Studio 2017
Hi,
w
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
Subject: Re: [Interest
*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
re:
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 Con
nd DLLs compiled 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 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
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
p;'
I tried changing the QWeakPointer 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 meth
word
(we don't want to store 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
5.5.1 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
> 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 a
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 ; Interest@qt-project.org
Subject: RE: Qt5.6 not recognised by Visual Studio 2015
Please contact the maintai
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
> 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: 192.16
>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)
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 0
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
Intere
>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!
>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 upd
(). But it made 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
If I want to convert a QByteArray to quint32 I can use:
quint32 result = QByteArray("1234").toUInt();
But what if I want to convert a longer array to quint64? Writing cross-platform
code requires a mix of _strtoi64() and strtoull(). Is there a simple way of
doing this in Qt?
Thanks,
Tom
he system clock but the
documentation says the timezone struct is obsolete and should not be used. So
how can we programatically set the timezone in a way that Qt will recognise?
Tom Isaacson
___
Interest mailing list
Interest@qt-project.org
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.
To
.
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
Subj
upport for Bluetooth from HTML5/JS?
Thanks,
Tom Isaacson
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
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
Subjec
nd is here:
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 Beha
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
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.
To
edia Foundation) 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
t;objectName() + QString(":
") + dynamic_cast(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,
link is a good place.
Tom Isaacson
From: interest-bounces+tom.isaacson=navico@qt-project.org
[mailto:interest-bounces+tom.isaacson=navico@qt-project.org] On Behalf Of
Richard Moore
Sent: Tuesday, 27 May 2014 9:21 p.m.
To: interest@qt-project.org
Subject: Re: [Interest] How to trust certi
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-bounces+tom.isaacson=nav
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 Beha
n code: 27 (certificate not trusted)
---
closed
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
Thiago Macieira
Sent: Tuesday, 27 May 2014 7:41 a.m.
To: interes
server. You then get 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, T
rg/article/37666/qwebview-not-displaying-some-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
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. Is
>> 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);
I would have
expected 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
s linked against libQtLocation,
however when running html5 tests it says geolocation 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 wa
s linked against libQtLocation,
however when running html5 tests it says geolocation 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 wa
> 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 ca1a2f8cab48b730c2e1962bef73c328ac42
> From: Aaron McCarthy [mccarthy.aa...@gmail.com]
> Sent: Monday, 23 September 2013 13:21
> This does look like an incompatibility between Qt Mobility and Qt 4.8.2. My
> understanding is that the metaobject builder code in Qt Mobility needs to be
> kept in sync with the version in Qt. The commit lo
> From: Aaron McCarthy [mccarthy.aa...@gmail.com]
> Sent: Friday, 20 September 2013 18:25
> What is the failure?
ipc/qmetaobjectbuilder.cpp: In member function 'void
QtMobility::QMetaObjectBuilder::addMetaObject(const QMetaObject*,
QtMobility::QMetaObjectBuilder::AddMembers)':
ipc/qmetaobjectbu
6 de setembro de 2013 12:13:32, Tom Isaacson wrote:
> I tried running the Qt demo browser in Windows 7 and Linux and neither
> worked, but ultimately I want it to work on our embedded Linux device.
> We're using Qt 4.8.2 on the device but I can't find any reference to
> QtLocatio
ubject: Re: [Interest] Qt Webkit and HTML5 geolocation
On sexta-feira, 6 de setembro de 2013 05:49:08, Tom Isaacson wrote:
> This works in Chrome and Firefox but fails on the browser demo
> ([QTDIR]\demos\browser) in Qt 4.8.2, 4.8.5 and 5.0. Does this feature
> actually work, or was it a mi
I'm trying to get HTML5 geolocation working in Qt Webkit. The problem is not so
much that it doesn't work as QtWebkit doesn't seem to recognise
"navigator.geolocation" in Javascript. I'm obviously not the first person to
try this:
http://stackoverflow.com/questions/9861349/qt-webkit-and-html5-ge
I'm interested in using QWSEmbedWidget to open a browser window within my
application but I can't find any examples of how to use it. Does anyone know of
any examples, samples, blog posts, etc?
Thanks.
Tom
___
Interest mailing list
Interest@qt-proje
76 matches
Mail list logo