Re: [Interest] Getting a QImage from an QML Image, protocol agnostic QImage?

2017-04-11 Thread Jason H
> Sent: Tuesday, April 11, 2017 at 10:19 AM > From: "Sean Harmer" <sean.har...@kdab.com> > To: interest@qt-project.org > Subject: Re: [Interest] Getting a QImage from an QML Image, protocol agnostic > QImage? > > On Tuesday 11 April 2017 16:05:57 Jason H wro

Re: [Interest] Getting a QImage from an QML Image, protocol, agnostic QImage?

2017-04-12 Thread Jason H
1/2017 08:22 PM, interest-requ...@qt-project.org wrote: On Tuesday 11 April 2017 16:05:57 Jason H wrote: I am looking for a way to get the original pixel data from a Image element into QImage. A few ways just grab the image as rendered (returning less data if scaled down) but I want the full

Re: [Interest] Getting a QImage from an QML Image, protocol, agnostic QImage?

2017-04-12 Thread Jason H
Please stop trolling my thread. 1. You don't know what images my app will be accessing, or my rights and permissions to them 2. The fact that an image is posted openly it prima facia evidence that I have permission to access it, given there are access control measures i.e. HTTP 4xx codes,

[Interest] QML GPS not working on android? (5.7)

2017-04-06 Thread Jason H
PositionSource.update() doesn't do anything. However valid is true, but latitude and longitude are both NaN. When using start()/active: D/QtPositioning(21346): Stopping updates W/System.err(21346): java.lang.IllegalArgumentException: invalid listener: null W/System.err(21346): at

Re: [Interest] QML WebView modules

2017-04-06 Thread Jason H
  Use a file selector, roll both platforms into a custom component.  http://www.ics.com/blog/mastering-qt-file-selectors Sent: Tuesday, April 04, 2017 at 6:26 AM From: "Mark Tucker" To: "interest@qt-project.org" Subject: [Interest] QML

Re: [Interest] QtQuick import question

2017-04-12 Thread Jason H
> Sent: Wednesday, April 12, 2017 at 12:05 PM > From: "VStevenP via Interest" > To: interest@qt-project.org > Subject: [Interest] QtQuick import question > > When importing a QtQuick version, is it best to import the most recent > version, or the minimum version that

[Interest] QtLingust

2017-03-14 Thread Jason H
I need to distribute Qt Linguist. What is the easiest way to distribute this? There is no download available. Target platform is OSX. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QML Video component fails to stream video on Windows

2017-03-21 Thread Jason H
It has been a while since I did Windows Multimedia. And everytime I do there seems to be a new backend. But, with my dated experience, try a program called gspot and laod the file, it should tell you if it is missing a codec. There was also another told I used about 10 years ago, which drew the

Re: [Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-26 Thread Jason H
I don't know what your code path is, or the current state of this long-time bug is, but  I belive the current "fix" is to manualyl double the pixel density and then scale down.      Sent: Tuesday, July 25, 2017 at 9:29 PM From: "Patrick Stinson" To: "Qt Interest"

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Jason H
> Sent: Wednesday, May 03, 2017 at 1:53 PM > From: "Konstantin Shegunov" <kshegu...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: "Qt Project" <interest@qt-project.org> > Subject: Re: [Interest] QVectors vs QLists > > I'

[Interest] QVectors vs QLists

2017-05-03 Thread Jason H
I have a app that does a lot of numeric processing,using quint32, qreal mostly (and occasional QVector3D). 10k-1M items in the data set. I generally do know the size of the dataset before I start adding to it, so I call reserve() on it. Given that, and that I've been using QMap and QVector,

Re: [Interest] Question regarding Qt Android service

2017-05-11 Thread Jason H
I don't know how services differ from activities, but having done quite a few things with activities, I say yes, the Android Service/Activity start sthe Qt Thread. I don't know of anyway for the OD to start Qt directly... For my activity I have a platform shim that uses a single ton that has to

[Interest] Suggestion: Change default QML main.cpp

2017-05-15 Thread Jason H
After the engine.load(QUrl(QLatin1String("qrc:/main.qml"))); call, if there is a parsing error, the engine is empty. The eventloop will continue to run. Therefore, it should check before starting the event loop. if (engine.rootObjects().size() > 0) return

[Interest] QML disappointments

2017-06-23 Thread Jason H
So I've been using Qt for years (2004) and I like a lot about it. But QML continually disappoints. I just don't remember all these rendering issues on QWidgets. They Just Worked (tm). But QML fails to render reliably on all platforms. Whether it's mipmap on iOS, SVG scaling on Android...

Re: [Interest] QML disappointments

2017-06-26 Thread Jason H
The strength and main selling point of Qt is that it is cross-platform. But if it's not even different-theme-same-platform, then it really detracts from it's value prop.   As someone else said, the internals are fantastic, but the GUI bits are not the same quality.    I applied to work at Qt,

Re: [Interest] Qt iOS and App Extensions

2017-05-20 Thread Jason H
I do not know if that is possible, I remember something about a limitation with Qt/iOS w.r.t dynamic linking? > Sent: Saturday, May 20, 2017 at 12:54 PM > From: "Nuno Santos" > To: "Qt Project MailingList" > Subject: [Interest] Qt iOS and App

Re: [Interest] Qt3D on Android with C++

2017-06-14 Thread Jason H
I'm not sure why this isn't considered a bug to be fixed in 5.9. It is a LTS release, after all.   Sent: Wednesday, June 14, 2017 at 8:04 AM From: max_bergman...@web.de To: "Laszlo Agocs" , interest@qt-project.org Subject: Re: [Interest] Qt3D on Android with C++ Thanks,

[Interest] QtQ Controls 2 CheckBox fail

2017-06-14 Thread Jason H
So excited to install 5.9 and get going, particularly with Controls 2. Really, after all the buzz, I go to use a CheckBox this happens: (see attached) Blue is universal, B is default. One clip:true (and looks terrible) and the other doesn't. On OSX.___

[Interest] Auto QML generation using a drawing?

2017-05-31 Thread Jason H
I was reading this paper https://arxiv.org/pdf/1705.07962.pdf about generating code from UI by feeding it into a neural network. I was thinking it would be cool if we could take hand-drawn or Balsamic or other prototyping tool output to create the QML code. The github repo already has code for

Re: [Interest] [Android-development] Qt for Android - Signed Debug Packages by QtCreator

2017-09-13 Thread Jason H
I filed a bug about this. Vote for it. However the result for me was a debug package, just incorrectly named. > Sent: Wednesday, September 13, 2017 at 6:58 AM > From: "coroberti ." > To: "interest@qt-project.org" , android-development >

Re: [Interest] [Android-development] Qt for Android - Signed Debug Packages by QtCreator

2017-09-13 Thread Jason H
https://bugreports.qt.io/browse/QTBUG-58799 > Sent: Wednesday, September 13, 2017 at 12:29 PM > From: "coroberti ." <corobe...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: "interest@qt-project.org" <interest@qt-project.org>

Re: [Interest] WebView will someone shed some light please

2017-10-17 Thread Jason H
> Sent: Wednesday, October 11, 2017 at 12:47 PM > From: "Marek.Floriańczyk" > To: interest@qt-project.org > Subject: [Interest] WebView will someone shed some light please > > Hi all, > > I need to ask about QML WebView module. > I'm working on an mobile

Re: [Interest] How to get in touch with the Qt Company sales people?

2017-09-27 Thread Jason H
Having been responsible for Qt being purchaed at several organizations, I typically have had this problem in the past as well.   Though once you get a reply it really moves. I'm not sure what the problem is? An over-agressive spam filter?     Sent: Wednesday, September 27, 2017 at 7:09 AM

Re: [Interest] WebView will someone shed some light please

2017-10-18 Thread Jason H
> It's not web-driven app, there are push notifications, in app purchase, > google > api authorization and a few more. WebRTC allows me to use some "call center" > infrastructure with TURN and STUN servers provided by VoIP provider. They > have > commercial JS library where all webRTC

[Interest] Packet arrival-time resolution? QUdpSocket

2017-11-27 Thread Jason H
I was wondering what the maximum packet arrival time granularity is for Qt (On linux) using a normal timestamp, I can easily do 1ms. However if I was dealing with a raw socket descriptor, timing below this there is a ioctl() call I can do to get a lower resolution for the packet arrival time.

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-28 Thread Jason H
> On Monday, 27 November 2017 06:05:16 PST Jason H wrote: > > I was wondering what the maximum packet arrival time granularity is for Qt > > (On linux) using a normal timestamp, I can easily do 1ms. However if I was > > dealing with a raw socket descriptor, timing below

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-30 Thread Jason H
> Sent: Thursday, November 30, 2017 at 11:27 AM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] Packet arrival-time resolution? QUdpSocket > > On quinta-feira, 30 de novembro de 2017 07:49:15 PST Jas

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-30 Thread Jason H
> Sent: Wednesday, November 29, 2017 at 11:05 AM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Packet arrival-time resolution? QUdpSocket > > On Wednesday, 29 November 2017 01:34:05 PST Konrad Rosenbaum wrote: > > Any software

Re: [Interest] Customized Qt Platform Abstraction plugin

2017-11-17 Thread Jason H
> Sent: Friday, November 17, 2017 at 12:02 PM > From: Philippe > To: interest@qt-project.org > Subject: [Interest] Customized Qt Platform Abstraction plugin > > There is little documentation about Qpa, however I am wondering if a custom > Qpa plugin could be used for the

Re: [Interest] [Solved] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
Oh man what a trip. The essentials for anyone who wants to replace checkboxes with QPushbuttons: void ButtonDelegate::paint(QPainter *painter, const QStyleOptionViewItem , const QModelIndex ) const { bool isChecked = index.data(Qt::CheckStateRole).toInt() == Qt::Checked;

[Interest] 5.10 QPA: WebGL ... Uploads?

2017-12-07 Thread Jason H
Many web pages offer the ability to upload a file via drag and drop. With the new WebGL port, are users able to drag a file into the browser and have that upload? I'd like oo ingest a file from the client then provide the UI for editing it. ___

Re: [Interest] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
> Sent: Thursday, December 07, 2017 at 1:10 AM > From: "André Somers" > To: interest@qt-project.org > Subject: Re: [Interest] Change QCheckBox to QPushButton in a QTableView > ... > > > > But all I got out of it was a black pixel in the first cell. > > You're going to

Re: [Interest] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
> I added an assignment of QStypeOptionButton rect from options, and that now > shows the text, but the rest of the button is not rendered (Attached). If I > use a pushbutton to initialize options I've got to subclass it because > initStypeOptions is protected (why?), won't I overwrite the

Re: [Interest] Interest Digest, Vol 75, Issue 5

2017-12-11 Thread Jason H
    > Sent: Saturday, December 09, 2017 at 10:11 AM > From: "Roland Hughes" > To: interest@qt-project.org > Subject: Re: [Interest] Interest Digest, Vol 75, Issue 5 > On 12/09/2017 08:21 AM,  Oliver Niebuhr wrote: >> I already contacted Digia directly and asked

[Interest] Change QCheckBox to QPushButton in a QTableView

2017-12-06 Thread Jason H
I have a model, a few columns of which are supposed to be QPushButtons. I've got it working with checkboxes just fine, and I can get the QPushButtons to display while editing. But I want to display the checkable QPushButton reflecting it's checked state to be displayed all the time, not just

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-12-06 Thread Jason H
QUdpSocket > > Hi, > > From: Thiago Macieira [mailto:thiago.macie...@intel.com] > > On Thursday, 30 November 2017 13:27:16 PST Jason H wrote: > > > > In more usual units: > > > > speed of light = 299 792 458 m/s = 299.792458 mm/ns > > > > spe

[Interest] Non-blocking console reads

2018-05-04 Thread Jason H
I'm trying to (however inelegantly) treat the console as socket. I've tried using bytesAvailable() and readAll() but bytesAvailable() is always 0, and readAll will block. I do have an event loop and polling is ok with me. I'd rather not read the bytes in onTimeout(), and rather have the

Re: [Interest] Interest Digest, Vol 80, Issue 8

2018-05-14 Thread Jason H
> Sent: Saturday, May 12, 2018 at 1:06 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Interest Digest, Vol 80, Issue 8 > > On Saturday, 12 May 2018 07:11:57 PDT Roland Hughes wrote: > > On 05/12/2018 08:57 AM, Thiago Macieira

Re: [Interest] QImage transformed() background color

2018-05-07 Thread Jason H
> Sent: Monday, May 07, 2018 at 4:41 PM > From: "Christoph Feck" <cf...@kde.org> > To: "Jason H" <jh...@gmx.com>, "interestqt-project.org" > <interest@qt-project.org> > Subject: Re: [Interest] QImage transformed() background colo

Re: [Interest] Ensuring Dialog Window is a certain size which depends on Window title

2018-05-07 Thread Jason H
http://www.qtcentre.org/threads/63809-Unwanted-window-title-elision ?   Sent: Monday, May 07, 2018 at 4:13 PM From: "Christopher Probst" To: "interestqt-project.org" Subject: [Interest] Ensuring Dialog Window is a certain size which depends on

[Interest] QImage transformed() background color

2018-05-07 Thread Jason H
I'm rotating some images by non-90 degree amounts, but when I do, the image gets filled with a color value (black) for pixels where there is no image data after rotation, but are in the output image, which causes a problem with later analysis because it trips edge detection. It would be nice to

[Interest] QBluetoothSocket not derived from QAbstractSocket?

2018-05-06 Thread Jason H
I was surprised to learn that QBluetoothSocket is not derived from QAbstractSocket? This caused meet to write nore code than I feel I should have. QBluetoothSocket does derive from QIODevice at least so reading and writing is not affected. It seemed that because Bluetooth is a "service" that

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-20 Thread Jason H
Why is QImage even a GUI type? 99% of what I do with QImage is not for GUI. I can understand that QPixmap is GUI, but to me QImage is i/o and pixel/metadata manipulation (using scanline() where appropriate) . Yes, occasionally I use a QPainter on one, but that does not beed to be bound to a

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-17 Thread Jason H
I'm not familar with that function,  but I would guess because it's a QVariant holding a QImage? There already are those stream operators, and I think they are already registered.   I'm not understanding why QVariatn doesn't know how/why to call it? I'd figure that QVariant would write the

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-16 Thread Jason H
> Sent: Wednesday, May 16, 2018 at 11:52 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] QDatastream, QMap, QImage serialization > > On Wednesday, 16 May 2018 14:38:08 PDT Jérôme Godbout wrote: > > You will need to provide your own >

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-21 Thread Jason H
> * QPaintDevice has the concept of "physical DPI" and "logical DPI" which are > GUI-related. > * QPainter depends on QPaintEngine which depends on QPaintDevice > * QPen depends on QBrush which depends on QPixmap > * QPen and QBrush are useless without QPainter > * QImage inherits

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-21 Thread Jason H
mail.com> > To: "Jean-Michaël Celerier" <jeanmichael.celer...@gmail.com> > Cc: "Jason H" <jh...@gmx.com>, "Thiago Macieira" <thiago.macie...@intel.com>, > interest <interest@qt-project.org> > Subject: Re: [Interest] QDatastream,

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-21 Thread Jason H
> > On Monday, 21 May 2018 13:04:00 -03 Jason H wrote: > > which makes me think it should be T texture(); > > THAT is not going to happen. > > Find a non-template name and we can talk. I don't think C++ has a good concept of what it is that I want to do. C++ does n

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Jason H
> Sent: Tuesday, May 22, 2018 at 10:04 AM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] QDatastream, QMap, QImage serialization > > On Tuesday, 22 May 2018 10:38:46 -03 Jason H wrote: > > &

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Jason H
> Sent: Monday, May 21, 2018 at 4:02 PM > From: "Thiago Macieira" <thiago.macie...@intel.com> > To: interest@qt-project.org > Subject: Re: [Interest] QDatastream, QMap, QImage serialization > > On Monday, 21 May 2018 15:50:02 -03 Jason H wrote: > > I do

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Jason H
> Sent: Tuesday, May 22, 2018 at 8:08 AM > From: "Christian Gagneraud" <chg...@gmail.com> > To: "Jason H" <jh...@gmx.com> > Cc: "Jean-Michaël Celerier" <jeanmichael.celer...@gmail.com>, "Thiago > Macieira" <thiago.maci

Re: [Interest] Avoid readable QML files in application

2018-05-23 Thread Jason H
Having done several HIPPA compliant QML apps, I've not had this expressed to me as a requirement.  The attack vector you're guarding against by having this requirement is dumping protected data by replacing the file with a modified version that dumps the protected data. This is actually the same

[Interest] Why no T& QVariant::value()?

2018-05-23 Thread Jason H
Really wishing this function existed. Can someone explain why it doesnt' exist? I'm using it in conjunction with QVariantMap and QVariant list, where I want to change the value held at key or index. But in a nested map or list, since value() returns a copy, the change does not persist in the

Re: [Interest] QML iOS - can we download content to be executed

2018-05-25 Thread Jason H
Not excactly.   You can download data which results in a work flow. But you cannot add to or change the capability of the application.  The entirety of the application capabilities must be present at review time. I have successfully created a JSON data structure to dictate the application

Re: [Interest] QtQuick for mobile - any experience to share?

2018-05-25 Thread Jason H
I have many apps in Android and iOS app stores.  Qt was a great fit, but a few pain points: - Notifications: no platform integration - Push Notifications: no platform integration - Background processing: Varies. Apple is more strict. No background uploads.  - I found it unavoidable having to

Re: [Interest] QML iOS - can we download content to be executed

2018-05-25 Thread Jason H
Why is your course not just data? Abstract it.   Sent: Friday, May 25, 2018 at 2:24 PM From: "Sylvain Pointeau" <sylvain.point...@gmail.com> To: "Jason H" <jh...@gmx.com> Cc: "Qt Project" <interest@qt-project.org> Subject: Re: [Interest] QML i

[Interest] Avoiding COW with Qt Containers.

2018-05-18 Thread Jason H
I've got a QVariantMap that contains QVariantMaps. (I kinda posted about this Wednesday, when I was having a few issues at the same time). I'm essentially trying to do map["a"]["b"]["c"] = QPoint(0,0); However, because I'm using QVariant maps, I have to do: QVariantMap a = map["a"].toMap();

[Interest] QDatastream, QMap, QImage serialization

2018-05-16 Thread Jason H
I'm trying to write a GUI utility to provide a simple UI. I'm wanting a no-frills database of several Qt types, and I'm trying to use QVariantMap for that. It's going well except that QImages aren't being serialized correctly. Yes, I know there is a QVariant limitation with "GUI types" (

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Jason H
> On Tue, May 22, 2018 at 3:15 PM, Jason H <jh...@gmx.com> wrote: > > (...) > > Admittedly I don't understand the nuances of QPixmap. But I know working > > with a QImage should not require a windowing server. > > Where did you see QImage needs a windowing se

Re: [Interest] QDatastream, QMap, QImage serialization

2018-05-22 Thread Jason H
> On Tuesday, 22 May 2018 12:24:56 -03 Michael Jackson wrote: > > For Qt6 what I would like to see is QPainter abstracted out to just an > > interface and have the normal accelerated implementation that we have now > > in QtGui but also have a non-accelerated version living in QtCore or a > >

Re: [Interest] Android video recorder resolutions not working

2018-06-08 Thread Jason H
I created a bug: https://bugreports.qt.io/browse/QTBUG-68762 It seems that the setting is getting lost a a result of a state or status change ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Android video recorder resolutions not working

2018-06-08 Thread Jason H
I'm trying to record HD video, but all get is 352x288... videoRecorder { mediaContainer: "mp4" frameRate: 30 videoEncodingMode: CameraRecorder.ConstantQualityEncoding resolution: Qt.size(1920, 1080) videoCodec: "h264" } What am I doing wrong? ___

[Interest] QML Record video without audio

2018-06-07 Thread Jason H
I'm trying to produce a file containing only video frames, but muted and audioChannels seems to be ignored? This is on OSX, but it's an app for android. I'm not sure if I'm doing it wrong, or if it's nto supported by the platform? Camera { videoRecorder { audioChannels: 0

Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present

2018-06-18 Thread Jason H
->height(), GL_RGBA, > GL_UNSIGNED_BYTE, _frameBuffer.data()); > #else > glReadPixels(0, 0, input->width(), input->height(), GL_BGRA_EXT, > GL_UNSIGNED_BYTE, _frameBuffer.data()); > #endif > > glBindFramebuffer(GL_FRAMEBUFFER, prevFbo); > > // at this point _frameBuffe

Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present

2018-06-18 Thread Jason H
GL_UNSIGNED_BYTE, _frameBuffer.data()); #endif glBindFramebuffer(GL_FRAMEBUFFER, prevFbo); // at this point _frameBuffer bytearray contains your pixels Hope this saves you some of the headaches I went through as well! Gil On 6/14/18, 11:26 AM, “Interest on behalf of Jason H” wrote: Yes, I essentially

Re: [Interest] QAbstractVideoSurface::present without delay?

2018-06-18 Thread Jason H
put->width(), input->height(), GL_BGRA_EXT, GL_UNSIGNED_BYTE, _frameBuffer.data()); #endif glBindFramebuffer(GL_FRAMEBUFFER, prevFbo); // at this point _frameBuffer bytearray contains your pixels Hope this saves you some of the headaches I went through as well! Gil On 6/14/18, 11:26 AM,

[Interest] Cannot map videoforames for QAbstractVideoSurface::present

2018-06-13 Thread Jason H
How can I get access to pixel data (for reading) when being presented a frame? I have the following: class VideoSurface: public QAbstractVideoSurface { bool present(const QVideoFrame ) override { // I can't map() because frame is const and map() is not marked const // and frame is not already

Re: [Interest] Cannot map videoforames for QAbstractVideoSurface::present

2018-06-13 Thread Jason H
> How can I get access to pixel data (for reading) when being presented a > frame? I have the following: > > class VideoSurface: public QAbstractVideoSurface { > bool present(const QVideoFrame ) override { > // I can't map() because frame is const and map() is not marked const > // and frame

Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present

2018-06-14 Thread Jason H
ge.rect() ) ); > >   return true; > } > > This works for me... > > > 14-Jun-18 17:52, Jason H пишет: > > I have no idea what I'm doing wrong. Can someone this and let me know? > > The frames I'm getting are BGR32, so I have special code for that. > > But I'

Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present

2018-06-14 Thread Jason H
I have no idea what I'm doing wrong. Can someone this and let me know? The frames I'm getting are BGR32, so I have special code for that. But I'm getting the message "QVideoFrame::unmap() was called more times then QVideoFrame::map()" Which is obviously not the case. To restate the problems:

Re: [Interest] Qt for Python and mobiles

2018-05-30 Thread Jason H
If you're mocking up, do you really need it on Mobile? I always run the mobile apps desktop, because it's faster than deploying to the device.     Sent: Wednesday, May 30, 2018 at 9:38 AM From: "Alexandru Croitor" To: "Jérôme Godbout" , "Qt Interest" Subject: Re: [Interest] Qt for Python and

Re: [Interest] Maintenance Tool network error (OSX)

2018-05-30 Thread Jason H
installer: ok, login: ok, but > cannot install any version of Qt today on my brand new Mac. > > Also get this error just now when I tried on a new Windows 10 PC (se > picture #2). > > No Qt today :-( > > Rgrds Henry > > On 2018-05-29 17:18, Jason H wrote:

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Jason H
> Sent: Sunday, June 03, 2018 at 7:34 PM > From: "Hamish Moffatt" > To: interest@qt-project.org > Subject: Re: [Interest] Why no T& QVariant::value()? > > On 24/05/18 00:16, Jason H wrote: > > Really wishing this function existed. Can someone explain wh

Re: [Interest] QtLabs PDF on ios and android

2018-06-04 Thread Jason H
Never tried it. I don't know why it it wouldn't work. But in my system we had the server generate the pdf, which we had to use -platform offscreen or something like that.    The PDF stuff requires at least a QGuiApplication, which a mobile app is already.    Sent: Monday, June 04, 2018 at

Re: [Interest] Why no T& QVariant::value()?

2018-06-04 Thread Jason H
> Sent: Monday, June 04, 2018 at 4:46 PM > From: "Allan Sandfeld Jensen" > To: interest@qt-project.org > Subject: Re: [Interest] Why no T& QVariant::value()? > > On Montag, 4. Juni 2018 09:00:28 CEST Giuseppe D'Angelo wrote: > > Il 23/05/2018 16:16, Ja

Re: [Interest] QImage + pixel lambdas

2018-06-01 Thread Jason H
Incase anyone is wondering: accumulator ARGB32 600 pixels 24/25/26 msec (lamda, scanline) accumulator ARGB32 600 pixels 40/42/44 msec (lambda or no lambda, QImage::pixel) > Sent: Friday, June 01, 2018 at 9:38 AM > From: "Jason H" > To: "interestqt-project.or

Re: [Interest] QImage + pixel lambdas

2018-06-01 Thread Jason H
channel ARGB32 600 pixels 87/88/93 msec (lambda, scanline) channel ARGB32 600 pixels 148/146/153 msec QImage::pixel > Sent: Friday, June 01, 2018 at 4:13 PM > From: "Jason H" > To: "Jason H" > Cc: "interestqt-project.org" > Subject: Re:

[Interest] QImage + pixel lambdas

2018-06-01 Thread Jason H
So I'm doing some qimage analysis/manipulation. I think it would be really good if QImage came with a per-pixel function. (Examples below) I'm tired of writing the x/y for loops. The really neat thing (not in the examples) is using QImage::scanLine(int y) for faster access, and automatically

Re: [Interest] QtQuick for mobile - any experience to share?

2018-06-02 Thread Jason H
use it, from QML or C++...     Sent: Saturday, June 02, 2018 at 4:37 AM From: "Sylvain Pointeau" To: "Jason H" Cc: "Vlad Stelmahovsky" , interest Subject: Re: [Interest] QtQuick for mobile - any experience to share? On Wed, 30 May 2018 at 20:38, Sylvain Pointeau

Re: [Interest] QtQuick for mobile - any experience to share?

2018-05-29 Thread Jason H
A few things not mentioned, (or scanning to catch up on the thread, I did not see) 1. RN will expose native libraries. This is terrible for a X-platform developer as if you use Multimedia, have to know each multipedia API expertly. The best thing is to use Qt and have it abstract the native

[Interest] Maintenance Tool network error (OSX)

2018-05-29 Thread Jason H
Not sure if anyone else is getting this... ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Maintenance Tool network error (OSX)

2018-05-31 Thread Jason H
Confirmed, I was able to install 5.11 :-) > Sent: Thursday, May 31, 2018 at 12:55 AM > From: "Jani Heikkinen" > To: "Jason H" , "developm...@qt-project.org" > > Cc: "interest@qt-project.org" , "fro...@tungware.se" > &

Re: [Interest] ios / android - tutorial to wrap native component (such as webview)

2018-06-04 Thread Jason H
Webview/WebEngine is already wrapped.    But I've never done it. One of the problems with wrapping things, is they always intodruce platform-specific nuances.     Sent: Monday, June 04, 2018 at 10:04 AM From: "Sylvain Pointeau" To: "Qt Project" Subject: [Interest] ios / android - tutorial

Re: [Interest] QtWebsocket and Node.js

2018-06-25 Thread Jason H
Did you ever call liten on the server side? Literally server.listen(); I used a different module, express-ws.   You need to have something listening on the port, then the server can map the incomming request to the correct handler. I use the following (incomplete code) to broadcast activity to

Re: [Interest] Rendering timing of qt

2018-06-25 Thread Jason H
Try a QVideoWidget? http://doc.qt.io/qt-5/qvideowidget.html I'm in a similar situation, but there's a few differences. As far as I can speak to what you want: I have a QAbstractVideoFilter that gets sent frames continuously, but only captures some of them. Which ones are controlled by a

Re: [Interest] Android: Better way of asserting permanent permission refusal

2018-06-27 Thread Jason H
The rationale is the justification to the user on why they should grant the permission "Location needed for GPS tagging" "Camera needed for selfies"   The "UI" is operating system grant dialog.     Sent: Tuesday, June 26, 2018 at 5:02 PM From: "René Hansen" To: "Pierre-Yves Siret" Cc: 

Re: [Interest] Rendering timing of qt

2018-06-25 Thread Jason H
You can make it all async. Sockets are async (but are also your problem because they are out-of-band from the video frame pipeline) > Sent: Monday, June 25, 2018 at 10:52 AM > From: "Lodron, Gerald" > To: "Thiago Macieira" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] Rendering

Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present

2018-06-25 Thread Jason H
debug, but just a heads up that once you do get frames back, they won’t be what you expect…     From: Jason H Date: Monday, June 18, 2018 at 12:34 PM To: Gil H Cc: Qt Interest Subject: Re: [Interest] (code) Cannot map videoforames for QAbstractVideoSurface::present   After adding your code,

Re: [Interest] Security thoughts on Webchannel

2018-06-22 Thread Jason H
... > Is there any possibility to register new objects on an existing channel? > I would like to use a first registered object for user > authentification and a second one, that is registered after success of > the first operation. I don't know what you mean "register new objects on an

Re: [Interest] Interest Digest, Vol 79, Issue 19

2018-04-26 Thread Jason H
> Sent: Thursday, April 26, 2018 at 4:37 AM > From: "Ulf Hermann" > To: interest@qt-project.org > Subject: Re: [Interest] Interest Digest, Vol 79, Issue 19 > > > When I said "most machines are little-endian", I was referring to machines > > Qt > > runs on and, therefore,

Re: [Interest] Interest Digest, Vol 79, Issue 19

2018-04-26 Thread Jason H
> Sent: Wednesday, April 25, 2018 at 5:48 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Interest Digest, Vol 79, Issue 19 > > On Wednesday, 25 April 2018 06:53:26 PDT Roland Hughes wrote: > > What I'm trying to tell you is there

Re: [Interest] Interest Digest, Vol 79, Issue 21

2018-05-01 Thread Jason H
1. You're still yellow. (Message backgrounds anyway) 2. I think you're too hung up on the size of your computer. :-) 3. I agree network byte order is the lingua franca, but you're spending CPU cycles to swap bytes around. However this only wastes instructions on enciding and decoding information

Re: [Interest] [Qt3D] Mixing C++ and QML

2017-10-19 Thread Jason H
> I am looking for a way to manage an Entity tree in C++ and the Scene > configuration in QML. My C++ code manage entities from a root node and I want > to move the Frame graph and camera management,... to qml. > I can't figure out how to do that because if create a class that derive from >

Re: [Interest] QMap crash when using QtConcurrent::blockingMapped()

2017-10-26 Thread Jason H
    Sent: Thursday, October 26, 2017 at 4:58 PM From: "Konstantin Shegunov" <kshegu...@gmail.com> To: "Jason H" <jh...@gmx.com> Cc: "interestqt-project.org" <interest@qt-project.org> Subject: Re: [Interest] QMap crash when using QtConcurrent::bl

[Interest] QMap crash when using QtConcurrent::blockingMapped()

2017-10-26 Thread Jason H
This is the first time I'm trying to use QMap with QtConcurrent, and blockingMapped(). It sometimes works, sometimes doesn't. I've created a minimal test case that seems to crash in the same way. It seems to crash in varying places. namely: qmap.h: template inline bool qMapLessThanKey(const

Re: [Interest] QMap crash when using QtConcurrent::blockingMapped()

2017-10-27 Thread Jason H
> Sent: Friday, October 27, 2017 at 6:44 AM > From: "Konstantin Shegunov" > On Fri, Oct 27, 2017 at 9:45 AM, Elvis Stansvik > wrote: > > QMap isn't thread safe, so I don't think your use is guaranteed to be safe, > > even if

Re: [Interest] QMap crash when using QtConcurrent::blockingMapped() (Solved)

2017-10-27 Thread Jason H
Wow. Good call. Thanks Konstantin and Bjorn! It now works as expected.    Sent: Friday, October 27, 2017 at 5:15 AM From: "Björn Piltz" <bjornpi...@gmail.com> To: "Jason H" <jh...@gmx.com> Cc: "interestqt-project.org" <interest@qt-project.org&g

Re: [Interest] Qt Charts questions

2018-01-04 Thread Jason H
> > I've used them. Once. 3 years ago. > > Yeah, and that was sort of why I asked. Not that qt-interest would be the > WRONG place to ask, but whether it's the BEST place to ask. Mainly because I > rarely see any traffic about the classes in that module here. > I noticed that too, but unlike

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Jason H
> 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, Bob Hood wrote: > > On 1/8/2018 8:39 AM, Jason H wro

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Jason H
rpi thanks to Qt.   Christophe   2018-01-08 22:10 GMT+01:00 Jason H <jh...@gmx.com>: > 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 &

<    6   7   8   9   10   11   12   13   14   15   >