[Interest] Using QtQuick Controls 2 on android

2016-08-30 Thread Wolfgang Baron
Hi, I am trying to use QtQuick Controls on android (emulator for now). I cannot deploy a single project using QtQuick Controls 2 on android. The same project runs on windows classic and winrt. Other projects without QtQuick Controls 2 do run on android. The encountered error messages for the

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Kyle Altendorf
On August 30, 2016 7:44:14 PM EDT, Kyle Altendorf wrote: > > >On August 30, 2016 4:28:25 PM EDT, Larry Martell > wrote: >>I am invoking a python script with QProcess. I have found that if the >>script tries to open a file that has spaces in the path, no

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Roland Hughes
Please provide the entire QProcess() call. On 08/30/2016 06:53 PM, Larry Martell wrote: On Tue, Aug 30, 2016 at 7:38 PM, Roland Hughes wrote: I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:38 PM, Roland Hughes wrote: >>> > > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file always appears to have 0 length. The same

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Thiago Macieira
Em terça-feira, 30 de agosto de 2016, às 19:30:35 PDT, Larry Martell escreveu: > On Tue, Aug 30, 2016 at 7:08 PM, Thiago Macieira > > wrote: > > Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: > >> I am invoking a python script with

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Kyle Altendorf
On August 30, 2016 4:28:25 PM EDT, Larry Martell wrote: >I am invoking a python script with QProcess. I have found that if the >script tries to open a file that has spaces in the path, no error is >thrown, but the file always appears to have 0 length. The same script

Re: [Interest] script invoked with QProcess cannot open files, with spaces in path

2016-08-30 Thread Roland Hughes
>> I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but the file always appears to have 0 length. The same script with the same file with spaces in the path invoked from the command line works fine.

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
On Tue, Aug 30, 2016 at 7:08 PM, Thiago Macieira wrote: > Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: >> I am invoking a python script with QProcess. I have found that if the >> script tries to open a file that has spaces in the path,

Re: [Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Thiago Macieira
Em terça-feira, 30 de agosto de 2016, às 16:28:25 PDT, Larry Martell escreveu: > I am invoking a python script with QProcess. I have found that if the > script tries to open a file that has spaces in the path, no error is > thrown, but the file always appears to have 0 length. The same script >

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

2016-08-30 Thread Jérôme Godbout
As far as I know, PyQt5 is available for Android, but not PyQt4. Anyway if you want to do some Qml, I strongly suggest Qt5 and the lastest especially if you start a new project. JS can acheive as much with many porting, since the Qml JS engine have a few particularity on it's own. But no it

[Interest] qt 5.7 broken on mac os x

2016-08-30 Thread Sylvain Pointeau
Hello, I just installed qt 5.7 on my mac os x and qt creator underlines all qml libs... when is qt 5.7.1 planned? best regards, Sylvain ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] script invoked with QProcess cannot open files with spaces in path

2016-08-30 Thread Larry Martell
I am invoking a python script with QProcess. I have found that if the script tries to open a file that has spaces in the path, no error is thrown, but the file always appears to have 0 length. The same script with the same file with spaces in the path invoked from the command line works fine. Note

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

2016-08-30 Thread Jason H
  Having used PyQt in the past (and loved it!) I really can't beat QML.    And w.r.t. whomever mentioned doing the backend of it in C++, I see your point, but I think those days are numbered. Consider that you can use a transpiler to use say, TypeScript and transpile to JS, do you can do a

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

2016-08-30 Thread Артур Истомин
On Tue, Aug 30, 2016 at 01:38:58PM -0600, Bob Hood wrote: > 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

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

2016-08-30 Thread Jérôme Godbout
If you are not too familiar with C++, you may want to give a PyQt a look, this is less overwhelming and for simple application Python can easily handle it, you will also have a out of the box support for your SQLite and many other features you want to implement. This is if you really want to have

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

2016-08-30 Thread Freddy Martinez Garcia
You can, but I’m not really sure that will be scalable. Also you will miss te powerful of the Qt API… I don’t think that is the best that you need. If you really just want to make your app for a Mobile environment with only javascript, I think that you can considere to use HTML5 + Js. Should be

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

2016-08-30 Thread Giuseppe D'Angelo
On Tue, Aug 30, 2016 at 9:11 PM, Артур Истомин wrote: > I don't know C++ but know some JS. So is it possible to write my > application, POS, entirely on JavaScript? Almost all application logic are > sql transactions with local sqlite database. You'll still want your backend

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

2016-08-30 Thread Jason H
> Sent: Tuesday, August 30, 2016 at 3:11 PM > From: "Артур Истомин" > To: interest@qt-project.org > Subject: [Interest] Is Qt/QML suitable for me? > > I want to convert my POS (point of sale) software (long ugly shell-scripts) > to GUI-software for mobile (Android) and

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

2016-08-30 Thread Jesus Fernandez
Yeah! You can create your app with Qt Quick (Qml + Javascript) ?? Best regards, Jesus From: Артур Истомин Sent: Tuesday, August 30, 21:11 Subject: [Interest] Is Qt/QML suitable for me? To: interest@qt-project.org I want to convert my POS (point of sale) software (long ugly shell-scripts) to

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

[Interest] Is Qt/QML suitable for me?

2016-08-30 Thread Артур Истомин
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 JavaScript? Almost all application logic are sql

Re: [Interest] CocoaPods and Qt

2016-08-30 Thread Jason H
Thanks for the tip. Originally I was tackling it this way because AmazonSNS looked like something we wanted to use, but none of the instructions are updated for Firebase. Amazon gives you java classes that target the GCM libraries, so I was trying to stay consistent. But then I decided maybe

Re: [Interest] CocoaPods and Qt

2016-08-30 Thread Manoel Neto
Hi Jason, GoogeCM changed to Firebase Claoud Message. You could configure Firebase manually. Create a dir named like "iOS/Firebase". There you showld put these files (download these files from GoogleFirebase) : FirebaseAnalytics , FirebaseMessaging , GoogleIPhoneUtilities , FirebaseInstanceID ,

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
Using a comma instead of a period? :-) Not passing `this`?     Sent: Tuesday, August 30, 2016 at 12:34 PM From: "Nuno Santos" To: "Jason H" Cc: "Qt Project MailingList" Subject: Re: [Interest] Qt Android App and

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Nuno Santos
I have the following error: error: no suitable constructor found for Intent(IPushBroadcastReceiver,Class) It seems not being able to consider my activity class valid. What am I doing wrong? > On 30 Aug 2016, at 17:19, Jason H wrote: > > I sent incomplete Code before: > This

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
I sent incomplete Code before: This is  how I set the Notification: private void displayNotification(final String message) { Intent notificationIntent = new Intent(this, MyQtActivity.class); notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);

[Interest] CocoaPods and Qt

2016-08-30 Thread Jason H
I'm fighting the google cloud messaging. It is packaged as CocoaPods, but I manually added the .a and frameworks to the project. I get the errors (runtime): You have enabled the CloudMessaging service in Developer Console, but it appears as though your Podfile is missing the line: 'pod

Re: [Interest] Includue Additional PLISTs?

2016-08-30 Thread Nuno Santos
Yeah! ;) > On 30 Aug 2016, at 17:03, Jason H wrote: > > Thanks, I got this working :-) > > Sent: Tuesday, August 30, 2016 at 11:30 AM > From: "Nuno Santos" > To: "Jason H" > Cc: "Interests Qt" > Subject: Re:

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Nuno Santos
None. Everything is done by Parse SDK. But in the snippet bellow I can override things. > On 30 Aug 2016, at 17:03, Jason H wrote: > > What code are you using to show your activity from the notification? > > Sent: Tuesday, August 30, 2016 at 11:32 AM > From: "Nuno Santos"

Re: [Interest] Includue Additional PLISTs?

2016-08-30 Thread Jason H
Thanks, I got this working :-)   Sent: Tuesday, August 30, 2016 at 11:30 AM From: "Nuno Santos" To: "Jason H" Cc: "Interests Qt" Subject: Re: [Interest] Includue Additional PLISTs? A plist is a resource like any other. For

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
What code are you using to show your activity from the notification?   Sent: Tuesday, August 30, 2016 at 11:32 AM From: "Nuno Santos" To: "Jason H" Cc: "Qt Project MailingList" Subject: Re: [Interest] Qt Android App and

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Nuno Santos
My launch mode is singleTop. I had singleTask but I have changed to singleTop without success. I don’t know the reason for having singleTask. I don’t remember. Also, I use Parse to receive and handle push notifications so I have the following filter to change the background color of the

Re: [Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Jason H
I don't have a problem with notifcations like that. What are you doing to bring your activity to the front? I'd suspect you start an intent, and have the SINGLE_TOP flag on the activity, or something like that?   Sent: Tuesday, August 30, 2016 at 11:12 AM From: "Nuno Santos"

Re: [Interest] Includue Additional PLISTs?

2016-08-30 Thread Nuno Santos
A plist is a resource like any other. For instance, an icon is a resource and I’m including the icons with qmake this way: ios_icon.files = $$files($$PWD/ios/icons/AppIcon*.png) QMAKE_BUNDLE_DATA += ios_icon Hope this helps! ;) Nuno > On 30 Aug 2016, at 16:25, Jason H wrote: >

[Interest] Includue Additional PLISTs?

2016-08-30 Thread Jason H
I am integrating Google Cloud Messaging, and need to include a GoogleService-Info.plist file. I currently get the error: Could not locate configuration file: 'GoogleService-Info.plist'. How can I tell qmake to include it? I already have an Info.plist.

[Interest] Qt Android App and Notifications - Black screen after tapping a notification with app open on background.

2016-08-30 Thread Nuno Santos
Hi, When my app has a notification I want to tap on the notification and open the app. If the app is closed, it works correctly. When the app is open in the background, it gets a black screen. Has anyone had this problem in the past? Any suggestion? Thanks,

Re: [Interest] QMediaRecorder blocks

2016-08-30 Thread Igor Mironchik
Hi, It seems that QMediaRecorder has problems with sync when working in pair with QAbstractVideoSurface as view finder in QCamera... On 30.08.2016 13:13, Igor Mironchik wrote: Hi, In the code below: qDebug() << "Starting rec."; d->m_rec->record(); qDebug() << "Rec started."; Where

[Interest] QMediaRecorder blocks

2016-08-30 Thread Igor Mironchik
Hi, In the code below: qDebug() << "Starting rec."; d->m_rec->record(); qDebug() << "Rec started."; Where d->m_rec is QMediaRecorder* I see only "Starting rec." message and my application stops working. It is not crashing just stops responding. What it can be? Thank you. -- Best

Re: [Interest] Resizing side by side nested dock widgets?

2016-08-30 Thread Elvis Stansvik
2016-08-30 9:15 GMT+02:00 Elvis Stansvik : > Hi all, > > When using nested dock widgets, and two dock widgets are placed side > by side in the same dock area, is it possible to allow resizing of the > outer dock widget (the one adjacent to the window edge) and have the > other

[Interest] Resizing side by side nested dock widgets?

2016-08-30 Thread Elvis Stansvik
Hi all, When using nested dock widgets, and two dock widgets are placed side by side in the same dock area, is it possible to allow resizing of the outer dock widget (the one adjacent to the window edge) and have the other one "move" towards the center of the window to give room for the resize to