Re: [Interest] QSqlQueryModel refresh

2012-03-03 Thread Jason H
nce, I didn't have performance problem with refresh. Best Regards, Thales Lange. On 02-03-2012 19:13, Jason H wrote: > How after I have reimplmented setData() to make my model writable, do I > refresh my view? I could drop the whole mod

Re: [Interest] About model/view sorting and headers

2012-03-05 Thread Jason H
It would seem as your row header isn't header, but data? From: Yves Bailly To: "interest@qt-project.org" Sent: Monday, March 5, 2012 8:31 AM Subject: [Interest] About model/view sorting and headers Greetings all, Here's something it seems I can't understa

Re: [Interest] To QML or not to QML...

2012-03-05 Thread Jason H
It is my understanding that the major differences between 4 and 5 are that 5 assumes (and requires) a hardware GL implementation (scenegraph), where 4 does not. In terms of your coding, his largely comes down to the import statements that are used. From: B

Re: [Interest] To QML or not to QML...

2012-03-06 Thread Jason H
rong, unless it's a QML limitation. - Original Message - From: BRM To: Interests Qt Cc: Sent: Tuesday, March 6, 2012 12:26 PM Subject: Re: [Interest] To QML or not to QML... > From: Preet >On Mon, Mar 5, 2012 at 12:54 PM, Jason H wrote: >> It is my understanding that the maj

Re: [Interest] QTextEdit and watermark

2012-03-12 Thread Jason H
I know what a watermark is. I don't know start you mean by watermark in a text edit though. Got a pic as an example? -J ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Jason H
You've understanding it fine. But the colon in the filename means, it's a complied-in resource. While you develop/test, I would suggest taking the colon out and using the file system. All you have to do without using  style sheets is subclass QTextEdit then re implement draw, draw your water m

Re: [Interest] QTextEdit and Style sheets

2012-03-12 Thread Jason H
om: Graham Labdon To: Jason H Cc: "interest@qt-project.org" Sent: Monday, March 12, 2012 9:12 AM Subject: RE: [Interest] QTextEdit and Style sheets I realise that using the colon implies a compilied in resource but this resource exits and can be used to set the background im

[Interest] Qt/ iOS ready for 64bit?

2014-10-20 Thread Jason H
It seems that Apple will require all app submissions to be 64bit as of February 2015. ( http://arstechnica.com/apple/2014/10/apple-beginning-february-2015-app-store-submissions-need-to-be-64-bit/ ) Is Qt 5.3 or 5.4 ready? ___ Interest mailing list Int

[Interest] ListView questions

2014-12-04 Thread Jason H
So I am finding that ListView is poorly documented. It inherits Flickable, but does not otherwise have any currentIndexChanged() events, except that, it has it... somehow. I am trying to use a ListView with a delegate that has the following behavior: Unselected item delegate: - A line of text -

[Interest] QML Qt.lighter() for images?

2014-12-04 Thread Jason H
I'm running into a common issue, where I have art - PNG and SVG that I wish to use the color functions on. I can either generate this art statically, which isn't great or I can convert it to a Canvas, which I can change the color dynamically. It works, kinda. I have to manually request the paint

[Interest] First Time Android Woes (internet and qrc issues)

2014-12-05 Thread Jason H
I developed my QML application on my PC, and switched it over to Android. Everything works as expected on the PC. Qt 5.3.0 Android KitKat For android, first issue: I created a manifest, and added the permissions I needed, including the INTERNET one. D/Qt ( 3331): qrc:///ajax.js:13 (): qml:

Re: [Interest] First Time Android Woes (internet and qrc issues)

2014-12-05 Thread Jason H
> Sent: Friday, December 05, 2014 at 1:35 PM > From: "Jason H" > To: "interest@qt-project.org" > Subject: [Interest] First Time Android Woes (internet and qrc issues) > > I developed my QML application on my PC, and switched it over to Android. > E

Re: [Interest] QML StackView fragility

2014-12-05 Thread Jason H'
Evidently whatever C is, whwn you push it, is null. -- Sent from my Android phone with GMX Mail. Please excuse my brevity.Harri Pasanen wrote: StackView blows up for me from time to time for no apparent reason. No I seem to have a reproducible issus. I have pages

Re: [Interest] [Solved] First Time Android Woes (internet and qrc issues)

2014-12-05 Thread Jason H
> Sent: Friday, December 05, 2014 at 1:45 PM > From: "Jason H" > To: "Jason H" > Cc: "interest@qt-project.org" > Subject: Re: [Interest] First Time Android Woes (internet and qrc issues) > > > > > Sent: Friday, December 0

[Interest] TextArea read-only non parity with Android

2014-12-06 Thread Jason H
I have a TextArea { readOnly: true }. On Linux proper, this flag works as expected,. It can be scrolled but not changed, white background black text. On android, it is effectively "disabled" and CANNOT be scrolled, the appearance is gray background, dark gray text. I need something that works pr

[Interest] QMLCamera image capture, but not write to disk?

2014-12-08 Thread Jason H
I want to capture an image but not have it written to the disk. Is there any way in QML to do this? The documentation says onImageCaptured(QImage preview) awill happen then onImageSaved(QString url) will be fired when writing is complete. I would like the first but not the second to ever happen

[Interest] A better Image.PreserveAspectFit?

2014-12-09 Thread Jason H
I'm trying to use this flag, and the unused space is problematic. If I set anchors.fill:parent, I get white borders (letterboxing) and (1,1) of the image does not correspond to pixel (1,1) of the area. Instead it is (1,1) of the allocted space. Is there a mapping function or some trick where I

Re: [Interest] Totally broken QRect::moveRight

2014-12-09 Thread Jason H
I believe you are meaning to use a "translate" function. > Sent: Tuesday, December 09, 2014 at 3:16 AM > From: "Igor Mironchik" > To: interest@qt-project.org > Subject: Re: [Interest] Totally broken QRect::moveRight > > OMG, what happens when reading the documentation not carefully... > > Thank

[Interest] Rotation issue on Android device

2014-12-09 Thread Jason H
I have a screen that I am trying to handle rotation on. Initially it is an image. The user draws a box, and I convert the box to relative image coordinates (0-1, 0-1). Then I change the window size on the desktop, and the box is stable. It says in place relative to the image. (I hook onWidthCh

[Interest] Camera won't capture photos in quick succession

2014-12-10 Thread Jason H
Per http://qt-project.org/doc/qt-5/qml-qtmultimedia-cameracapture.html "It's permissible to call capture() while the camera is active regardless of the ready property value. If camera is not ready to capture image immediately, the capture request is queued with all the related camera settings, an

Re: [Interest] QML standard components for mobile

2014-12-10 Thread Jason H'
+1 this. I want info on the new flat style as well. -- Sent from my Android phone with GMX Mail. Please excuse my brevity."Daniel França" wrote: The just launched Qt5.4 come with a "flat light" style for Qt Quick Controls :D It seems it'll help to achieve what I want, but I can

Re: [Interest] Camera won't capture photos in quick succession

2014-12-11 Thread Jason H'
phone with GMX Mail. Please excuse my brevity.Lopes Yoann wrote: On 10 Dec 2014, at 21:33, Jason H wrote: > > Per http://qt-project.org/doc/qt-5/qml-qtmultimedia-cameracapture.html > "It's permissible to call capture() while the camera is active regardless of t

Re: [Interest] Camera won't capture photos in quick succession

2014-12-11 Thread Jason H
  Which ready are we talking about? The flash ready or the camera ready? I don't mind adding an onReadyChanged, but it is not clear where I should add it.   Thanks. Sent: Thursday, December 11, 2014 at 9:03 AM From: "Lopes Yoann" To: "Jason H'" Cc: "in

Re: [Interest] Camera won't capture photos in quick succession

2014-12-11 Thread Jason H
source of my issues (aside from the docs being incorrect).   Sent: Thursday, December 11, 2014 at 9:25 AM From: "Lopes Yoann" To: "Jason H" Cc: "interest@qt-project.org" Subject: Re: [Interest] Camera won't capture photos in quick succession   On 11 Dec

Re: [Interest] Camera won't capture photos in quick succession

2014-12-11 Thread Jason H
  camera.focus.focusMode= Camera.FocusManual; It still does a focus search. Thanks. -   Sent: Thursday, December 11, 2014 at 10:43 AM From: "Jason H" To: "Lopes Yoann" Cc: "interest@qt-project.org" Subject: Re: [Interest] Camera won't capture photos in quick succ

[Interest] Camera won't stop() (Linux Webcam)

2014-12-12 Thread Jason H
After acquiring my images, I call camera.stop(). However the camera does not stop. stop() in general does work, because I have: Component.onCompleted: stop(); Which stops the camera as soon as the page it is loaded at app startup. But subsequent calls after my images collection don't stop. I know

[Interest] QHttpMultiPart not working.

2014-12-12 Thread Jason H
I am trying to sendmultiple files in a multiart message. I've adapted the example, and there is never a boundary or content put out for any part. First the code: QHttpMultiPart *multiPart = new QHttpMultiPart(QHttpMultiPart::FormDataType); foreach (QVariant v, filenames) {

Re: [Interest] QHttpMultiPart not working.

2014-12-15 Thread Jason H
5.4.0/5.4/gcc_64/lib/libQt5Core.so.5 0x760505b3 ... I would appreciate any tips on how to debug this. Qt 5.4.0 > Sent: Friday, December 12, 2014 at 1:27 PM > From: "Jason H" > To: "interest@qt-project.org" > S

[Interest] Regarding my QHttpMultPpart issues

2014-12-17 Thread Jason H
I've filed a bug. https://bugreports.qt-project.org/browse/QTBUG-43378 If anyone has time, please give it shot and see if you can reproduce my problem. If possible, place the server and the client on separate machines. A basic test if for each line read line, the bytes added up should match the

Re: [Interest] DragDrop between different processes not working?

2014-12-17 Thread Jason H
It's been a while but I've dragged content out of browser (Firefox) into a Qt app. It works, at least back in Qt 4.x. You have to enable DnD events. Your app won't respond to them otherwise. > Sent: Wednesday, December 17, 2014 at 1:18 AM > From: Wilhelm > To: "interest@qt-project.org" > Subje

[Interest] PDF/ print out creation in Qt5.4?

2014-12-18 Thread Jason H
I've not done a print out since 4.2. I'm wondering what's different about today? I heard printsupport was to use go an overhaul, what's the status on that? I do know that PDF creation is included now. I'm looking to create PDFs on a headless server. Can I use Webkit to do layout using h

[Interest] QPdfWriter rendering images with a Proxy PaintDevice is literally off

2014-12-20 Thread Jason H
Ok, so I got the bright idea to make a printing system based on QLayouts. This saves me from ding a lot of calculations and is dearly perfect. But there are a few rough corners and one that I cannot figure out. First the approach: I use ui files to create multiple UI Widgets which are then dire

[Interest] QML global variables?

2015-01-06 Thread Jason H
What is the proper way to declare a dynamic global? Currently my app is set up with main.qml: Window { property var AppData; Screen1 { onEnter: { screen1.screenData = appData.screen1 }, onExit: { appData.screen1 = screen1.screenData }} Screen2 { onEnter: { screen2.screenData = appData.screen2

Re: [Interest] QML global variables?

2015-01-06 Thread Jason H
correct?     Sent: Tuesday, January 06, 2015 at 2:14 PM From: "Jérôme Godbout" To: "Jason H" Cc: "interest@qt-project.org" Subject: Re: [Interest] QML global variables? You can try to use a singleton, seem like what you need.    Inside qmldir: singleton

[Interest] How to use charts in designer?

2015-01-23 Thread Jason H
I've got a commercial license, and I want to layout a chart in Designer. When I try to promote it from QWidget to designer, then run it I get an error. In the .h generated for the form by Designer: #ifndef UI_FORM_H #define UI_FORM_H #include #include #include #include #include #include #

[Interest] Handling various displays on mobile...

2015-01-27 Thread Jason H
I've spec'd the text my QML ui in points, and that works well. But the problem comes when i calculate padding and offsets in pixels. It looks great on my device (Note 2) but on newer devices with higher DPIs, the UI looks un-padded. I need a way to get the DPI so I can properly calculate spacin

[Interest] How to prevent painter from ending() on render()

2015-01-28 Thread Jason H
I'm trying to print stuff out, QCharts, text, etc. Widgets basically. I try to render() them to QPdfWiter, but each widget calls end() on painter which then closes the file. This is not acceptable, as you can never have more than one page. You have to call render() then newPage() to create a new

Re: [Interest] How to prevent painter from ending() on render()

2015-01-28 Thread Jason H
> Sent: Wednesday, January 28, 2015 at 1:23 PM > From: "Giuseppe D'Angelo" > To: interest@qt-project.org > Subject: Re: [Interest] How to prevent painter from ending() on render() > > Il 28/01/2015 18:50, Jason H ha scritto: > > So how can someone render

[Interest] Android (and iOS) network state?

2015-01-29 Thread Jason H
Is there a way in Qt/QML that I can detect if the phone is connected to the internet without having to actually connect to a server? I know the Android SDK has an API and permissions for reading network state. I'd like to display a message to the user when there is no data connection (Wifi or c

[Interest] QCommandLine parser: why can't value() return positional arguments?

2015-01-30 Thread Jason H
This is my first use of the new class and I think it's missing a rather obvious feature. If I parser.addPositionalArgument("key", ...) why can't I then return it with parser.value(key)? When I try to use .value(key) I get: QCommandLineParser: option not defined: "key". It would be very desira

[Interest] SDKMaintenanceTool on headless systems?

2015-01-30 Thread Jason H
I need to install Qt (with commercial Charts) to a headless server (CentOs). The online installer is GUI. This is an issue. How can I get the SDK installed? (Server qt apps use "-platform minimal" (for generating Charts in Pdfs), or no GUI libraries at all (QtNetwork/QtSql)) Thanks ___

Re: [Interest] Text is not being anti-aliased.

2015-01-30 Thread Jason H
Back in Qt4, (the last time I wrestled with this issue - Win XP) there was a setting in Windows about anti-aliased fonts. Qt respected that setting, unless you explicitly told Qt to override it. I think you're in a similar situation. > Sent: Friday, January 30, 2015 at 10:56 AM > From: "william

Re: [Interest] QCommandLine parser: why can't value() return positional arguments?

2015-01-31 Thread Jason H
> On Friday 30 January 2015 16:59:45 Jason H wrote: > > This is my first use of the new class and I think it's missing a rather > > obvious feature. > > > > If I parser.addPositionalArgument("key", ...) why can't I then return it > > with par

[Interest] Wrong App Name on Android

2015-02-05 Thread Jason H
___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Wrong app name on android

2015-02-05 Thread Jason H
So I have an app name in the Application: Application Name field of the manifest viewer. But when I deploy it, it only comes up with the Qt project name ("project" in "project.pro") How do I get the version on the phone to match the Application name? Qt 5.4 QtCreator 3.3 _

[Interest] "Flat Light" Style How?

2015-02-05 Thread Jason H
I have a commercial license and I can not find any info on how to use "Flat Light" style. Can someone clue me in? Thanks! ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] "Flat Light" Style How?

2015-02-05 Thread Jason H
ut 2:00 in. The page you directed me to only lists: CircularGaugeStyle DelayButtonStyle DialStyle GaugeStyle PieMenuStyle StatusIndicatorStyle ToggleButtonStyle TumblerStyle I hope there are more styles than that? > Sent: Thursday, February 05, 2015 at 11:59 AM > From: "Agocs La

Re: [Interest] "Flat Light" Style How?

2015-02-05 Thread Jason H
Oh thanks! So immedautely, I notice issues. Any control that has text (TextField, Button) is not properly accounting for a specified pointSize. How do I inherit from a flat style for a button? > Sent: Thursday, February 05, 2015 at 12:11 PM > From: "Agocs Laszlo" >

Re: [Interest] Wrong app name on android

2015-02-05 Thread Jason H
at 10:54 AM > From: "Harri Pasanen" > To: interest@qt-project.org > Subject: Re: [Interest] Wrong app name on android > > On 05/02/2015 16:48, Jason H wrote: > > So I have an app name in the Application: Application Name field of the > > manifest viewer. >

[Interest] Installing on a headless server

2015-02-05 Thread Jason H
I need to install Qt (Enterprise) on a headless server (CentOS) (I use -platform minimal) . There is only the GUI installer. How can I get Qt installed on the server so I can generate reports? --OR-- How can I build my package for distribution (incl deps) to the headless server? ___

Re: [Interest] Wrong app name on android

2015-02-05 Thread Jason H
Sent: Thursday, February 05, 2015 at 2:58 PM > From: "Harri Pasanen" > To: "Jason H" > Cc: interest@qt-project.org > Subject: Re: [Interest] Wrong app name on android > > Just to clarify, are you talking about the name that appears below the > icon

Re: [Interest] Wrong app name on android

2015-02-05 Thread Jason H
I made one. https://bugreports.qt.io/browse/QTBUG-44324 > Sent: Thursday, February 05, 2015 at 3:22 PM > From: "Harri Pasanen" > To: "Jason H" > Cc: interest@qt-project.org > Subject: Re: [Interest] Wrong app name on android > > Hmm... I seem to have

[Interest] Qml Compiler fails

2015-02-05 Thread Jason H
I added StyledTextField.qml to my qml.qrc, when I compile now it says: qtquickcompiler_loader.o: In function `QtQuickCompilerGeneratedModule::__StyledTextField_qml::createCompilationUnit()': /home/jason/Projects/build-xxx-Desktop_Qt_5_4_0_GCC_64bit-Debug/.qtquickcompiler/qtquickcompiler_loader.cp

Re: [Interest] hi-res drawing on Windows

2015-02-05 Thread Jason H
I don't know why that variable exists. It's useless as far as I can tell. Maybe it means that you are being scaled? I use Screen.pixelDensity. Which varies as you think it should, but is spec'd in px per mm, not DPI. That pixelRatio is either 1 or 0, I don't think it is ever in between. In the

[Interest] What is Qt.red for in QML?

2015-02-05 Thread Jason H
Rectangle { ... color: "red" // works color: Qt.red // does not work "Unable to assign int to QColor" } Why? What is Qt.red for then? Thanks ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] How to do a correct drop shadow on a QML Rect?

2015-02-05 Thread Jason H
These flat interfaces are all the rage these days. So I want to make a drop shadow. However the two approaches I can think of don't work. First is the QML DropShadow element. This creates a shadow of a constant color when the source is a rect. It is pixel-equivalent to just another Rect, so that

Re: [Interest] "Flat Light" Style How?

2015-02-06 Thread Jason H
to be a very hard sell at this point. Our one closed issue thus far is one that changed a flag on a bug I already filed to 'Requested via Qt Support' And that issue isn't fixed yet either. > Sent: Friday, February 06, 2015 at 8:13 AM > From: "Curti

Re: [Interest] How to do a correct drop shadow on a QML Rect?

2015-02-06 Thread Jason H
 Thank you, this worked perfectly!! Sent: Thursday, February 05, 2015 at 11:10 PM From: "Ben Lau" To: "Jason H" Cc: "interest@qt-project.org" Subject: Re: [Interest] How to do a correct drop shadow on a QML Rect? Hi Jason,   Here is an example to attach shad

[Interest] QML Blurred semt-transparent backgorounds?

2015-02-06 Thread Jason H
I have some overlays over video that I want to blur, like in the latest Apple products. I can to the opacity easily enough, but how do I blur the background of a rect? Especially when it is over video.I figure I need to set the source of the blur to a region of the VideoPlayer (and whatever may

Re: [Interest] How to deal with database specific syntax

2015-02-11 Thread Jason H
Without ORMs o query generators, you  pretty much have to do it yourself. Have two syntaxes for the same query, choose based on the driver. This works for me because I don't like maintaining SQL in code unless I have to, I read my SQL from a YAML/text file, or the database itself.    Sent: Wednes

[Interest] QML FS? Node.JS's 'fs'?

2015-02-12 Thread Jason H
So I want to do some elementary fs stuff. Mainly a delete. I was hoping there was an existing QML library to do this? Also, since QML is JS, and Node is JS, I would be fine with using Node's js module, but I am not sure how compatible the environments are. Node and QML are quite the pair! ___

Re: [Interest] "Internal data stream error" when trying to play video file

2015-02-12 Thread Jason H
I get "Internal data stream error" all the time! I am using Android/QML mobile Cameras and the VideoOutput element > Sent: Thursday, February 12, 2015 at 3:47 PM > From: "Nikos Chantziaras" > To: interest@qt-project.org > Subject: Re: [Interest] "Internal data stream error" when trying to play

[Interest] -platform -minimal does not render text

2015-02-17 Thread Jason H
Or more importantly, it is rendering characters as black boxes. To back up, I have a headless server (AWS AMI). It generates PDFs using QPdfWriter. When on my desktop (Mint 17.1) I can render reports just fine without "-platform minimal". Then to test the server command line on my desktop I ad

[Interest] http links in PDFs? (QPdfWriter)

2015-02-17 Thread Jason H
I need to put a clickable link in a PDF being generated with QPdfWriter. I don't see any functions on how to do this. What's the trick? Thanks. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] -platform -minimal does not render text

2015-02-17 Thread Jason H
lines and stuff, just not text. > Sent: Tuesday, February 17, 2015 at 12:28 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] -platform -minimal does not render text > > On Tuesday 17 February 2015 18:06:29 Jason H wrote: > > O

Re: [Interest] Can QML do this animation?

2015-02-17 Thread Jason H
Yes, I think 80% of it is 100% do-able.  Rotation defined by bytes receiced, with bounce easing. The only issue  is the drain animation. I'd probably use   Canvas and mathmatically define the position of a set of control points as a function of time. Feed those to a path, and you've got all the

Re: [Interest] Can QML do this animation?

2015-02-18 Thread Jason H
Sent: Wednesday, February 18, 2015 at 5:44 AM From: "Mark Gaiser" To: "Qt Interest" Subject: Re: [Interest] Can QML do this animation? >> On Wed, Feb 18, 2015 at 1:18 AM, Jason H wrote: >> Yes, I think 80% of it is 100% do-able.  >> Rotation defined

Re: [Interest] QsqlTableModel

2015-02-18 Thread Jason H
> From: "Graham Labdon" > > Hi > I am attempting to use QSqlTableModel to delete rows from an Sqlite database. > - > > model->select(); > bool b = model->removeRows(0,200); > model->submitAll(); > > The return value is false, so I thought I would get the last error using > >

[Interest] Displaying version in application.

2015-02-18 Thread Jason H
This is for mobile and QML. Is there a way to get the Android manifest XML and display it in the software automatically? Text { text: manifest.version } It would be cool to have a Manifest element or Application element ___ Interest mailing list I

Re: [Interest] http links in PDFs? (QPdfWriter)

2015-02-19 Thread Jason H
a patch, can we add the link support? > Sent: Tuesday, February 17, 2015 at 3:31 PM > From: "Jason H" > To: "Qt Project" > Subject: [Interest] http links in PDFs? (QPdfWriter) > > I need to put a clickable link in a PDF being generated with QPdfWriter. &g

Re: [Interest] http links in PDFs? (QPdfWriter)

2015-02-19 Thread Jason H
Added an issue. https://bugreports.qt.io/browse/QTBUG-44563 Please up-vote if you're interested. > Sent: Thursday, February 19, 2015 at 2:41 PM > From: "Jason H" > To: "Jason H" > Cc: "Qt Project" > Subject: Re: [Interest] http links in PDF

Re: [Interest] Installing on a headless server

2015-03-12 Thread Jason H
How can I get the Qt commercial sources? I'm using commercial Charts. > Sent: Thursday, February 05, 2015 at 9:06 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] Installing on a headless server > > On Thursday 05 February 2

Re: [Interest] Bounties?

2015-03-13 Thread Jason H
> > -Original Message- > > [...] > > > Sorry, but I can't help to think that, if that is too expensive for > > > your business, the money you'd dedicate to a bug bounty would be > > > pocket money, too. And > > > > Some support guy told me that priority bug fixing comes with enterprise > >

[Interest] Compiling commercial charts - Project ERROR: Unknown module(s) in QT: charts

2015-03-18 Thread Jason H
I downloaded the Qt sources via the Enterprise Maint. tool. I xferred these to my headless server, configured, make, make install. Went to build my project and got Project ERROR: Unknown module(s) in QT: charts What did I do wrong? How can I compile charts? _

Re: [Interest] Compiling commercial charts - Project ERROR: Unknown module(s) in QT: charts

2015-03-18 Thread Jason H
Ah, that was it, thanks! I expected them to be in Qt\Src. > Sent: Wednesday, March 18, 2015 at 11:21 AM > From: "Makkonen Sami" > To: "Jason H" , "interest@qt-project.org" > > Subject: RE: [Interest] Compiling commercial charts - Project ERR

[Interest] qmake: mkspec linux-g++ not found

2015-03-20 Thread Jason H
I built Qt from sources, did a make install, then blew away the source directory. I went into my project dir, did qmake and got that error. I looked in /usr/local/Qt-5.4.1/mkspecs and there were the proper files there. Then I un-blew away the source dir (cautious me, I did a move) and it all wo

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Jason H
> Sent: Saturday, March 21, 2015 at 2:23 PM > From: "Thiago Macieira" > To: interest@qt-project.org > Subject: Re: [Interest] qmake: mkspec linux-g++ not found > > On Friday 20 March 2015 20:44:07 Jason H wrote: > > I built Qt from sources, did a make

Re: [Interest] qmake: mkspec linux-g++ not found

2015-03-23 Thread Jason H
> Sent: Monday, March 23, 2015 at 11:08 AM > From: "Jason H" > To: "Thiago Macieira" > Cc: interest@qt-project.org > Subject: Re: [Interest] qmake: mkspec linux-g++ not found > > > > > Sent: Saturday, March 21, 2015 at 2:23 PM > >

[Interest] QML ListModel of ListModels?

2015-03-23 Thread Jason H
In a flickable, I want to have a 2-layer hierarchy: Category 1 Item 1 Item 2 Category 2 Item 1 Item 2 ... Category N Item X Item Y Item Z How can I create QML element that allows any number of Categories and Items? Can I use one root model? Or must I create these categories dynami

[Interest] QML ListModels and JSON

2015-03-25 Thread Jason H
I get back from a Ajax a JSON object with a 'table' from a web query: [ {id: 1, "category":"1", value:"1"}, {id: 2, "category":"1", value:"2"}, {id: 3, "category":"2", value:"3"}, ... ] What is the easiest way to convert the array to ListElements? Up to this point, I was copying data using ListMo

Re: [Interest] QML ListModels and JSON

2015-03-26 Thread Jason H
ath(object, query); for( var key in objectArray){ var jo= objectArray[key]; append( jo); console.debug("JSONModel: append", JSON.stringify(jo)) } } }                                               Sent: Wednesday, March 25, 2015 at 4:45 PM From: "D

[Interest] ListModels with sections, not grouping by section

2015-03-26 Thread Jason H
So I'm trying to use sections, and it seems that the data must be explicit ordered by section otherwise you get the section repeated whenever it changes that is to say: [ { 'a':'A' 'b':'1'} { 'a':'B' 'b':'2'} { 'a':'C' 'b':'1'} ] section by 'b', we get three groups: 1 + A 2 + B 1 + C Wh

[Interest] QML Camera has flash?

2015-03-27 Thread Jason H
I am deploying to more hardware these days, and not all (iPads and webcams) have flash. How can I detect if the flash is even present? I have a logic path way that wants to collect non-flash and if present a flash image: collectNonFlash() if (camera.hasFlash) // - I wish this property existed.

Re: [Interest] QML Camera has flash?

2015-03-27 Thread Jason H
And, as a fall-back, if I can't detect it, I at least need to get the platform (iOS-iPad-model, Android-Nexus-9, etc) so that I can maintain a capabilities table. How can QML do that? Thanks > Sent: Friday, March 27, 2015 at 10:27 AM > From: "Jason H" > To:

[Interest] Belligerent QML ListView

2015-03-27 Thread Jason H
I want to do a simple pop-up, centered on screen. Rectangle { Row (centered){ [Title] [ListView ... ... ... ...] [Ok] } //row } //Rect However I can't get this to layout right. The ListView width does not evaluate to anything but 0. This results in the ListView delegates starting at the center

Re: [Interest] QML Camera has flash?

2015-03-30 Thread Jason H
Sent: Monday, March 30, 2015 at 8:34 AM From: "Lopes Yoann" To: "Jason H" Cc: "interest@qt-project.org" Subject: Re: [Interest] QML Camera has flash? On 27 Mar 2015, at 16:15, Jason H wrote:  >> How can I detect if the flash is even present? I have a logi

[Interest] QML ListModel woes

2015-03-31 Thread Jason H
Given that I work with almost entirely JSON data, I find myself now lamenting the QML ListModel. Even The JSONListModel that can be found online isn't great. It all suffers from the same flaws as ListModel. My major complaint is that models, don't use a length property and instead use count, th

[Interest] Binding loops detected for ListView

2015-03-31 Thread Jason H
When height is set to contentHeight, it prints "QML ListView: Binding loop detected for property "height"" But I don't think this should be a binding loop. How else do I set the height to the size of the content? ListView { id: listView width: parent.width

[Interest] Error: Gradle version 1.10 is required. Current version is 2.2.1

2015-04-01 Thread Jason H
I'm not sure what is going on. I just connected a Nexus 6 and tried to deploy to it. This is an existing project that worked on my Note 2. I'm not sure if this is Qt, Creator, androiddeployqt or what. Help? Error follows Downloading https://services.gradle.org/distributions/gradle-2.2.1-all.zi

[Interest] First timer iOS woes

2015-04-02 Thread Jason H
So we've been deploying to android a while now. Yesterday was my first attempt at iOS. Below are my experiences and 2 unresolved issues: Details: - It's mostly a QML app (with one or two classes in C++ for use in QML) - It uses a camera, sqlite, and flash - Tested and deployed on several Android d

Re: [Interest] First timer iOS woes

2015-04-02 Thread Jason H
It's all a mess. I can't find anything because all the links go to qt-project, and there is no redirection. Can we get the server put back up until things will actually work? > Sent: Thursday, April 02, 2015 at 11:57 AM > From: "Harri Pasanen" > To: interest@qt-project.org > Subject: Re: [Intere

Re: [Interest] First timer iOS woes

2015-04-02 Thread Jason H
qt-project.org" > Cc: "Jason H" > Subject: Re: [Interest] First timer iOS woes > > Hi Jason, > > On Thu, Apr 2, 2015 at 4:55 PM, Jason H wrote: > > So those are my immediate issues: > > 1. Images don't load (we use jpg, png, svg) > > 2. an

[Interest] Can't login to new forum

2015-04-02 Thread Jason H
"To create a Qt Account, you can go to the Qt Forum login page, click on the Qt Account check mark and get directed to the Qt Account login page. There at the bottom of the page, you will find a ‘Create new account’ link." Nope. I click the check and get "Welcome This is your first login, pleas

Re: [Interest] First timer iOS woes

2015-04-02 Thread Jason H
BTW: Chrome is reporting CONNECTION_REFUSED > Sent: Thursday, April 02, 2015 at 12:26 PM > From: "Jason H" > To: "Harri Pasanen" > Cc: interest@qt-project.org > Subject: Re: [Interest] First timer iOS woes > > It's all a mess. I can't find

[Interest] QML/Qt/Mobile saving to mobile platform's common gallery?

2015-04-03 Thread Jason H
I have a need to place a image taken with my app into the gallery, wherever that may be on iOS and Android. Does anyone know how to do this? I saw something about running a service intent to add to the Gallery? No idea how to do that in Qt/QML. Also, I was hoping QStandardPaths would have some

[Interest] QtMultimedia::registerMediaFile

2015-04-03 Thread Jason H
I need to use the 'registerMediaFile' function from https://qt.gitorious.org/qt/qtmultimedia/source/ecce937a054e4a96597cb13c40d216bddbd45891:src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java But I don't know how, since it is Java. Can someone provide an exam

Re: [Interest] QtMultimedia::registerMediaFile

2015-04-03 Thread Jason H
org > Subject: Re: [Interest] QtMultimedia::registerMediaFile > > On Friday 03 April 2015 18:17:26 Jason H wrote: > > I need to use the 'registerMediaFile' function from > > https://qt.gitorious.org/qt/qtmultimedia/source/ecce937a054e4a96597cb13c40d > > 216b

Re: [Interest] QtMultimedia::registerMediaFile

2015-04-03 Thread Jason H
I think I found my error. The convince function isn't static. I either need to get my android Context (how?) or create the class instance and use the member function. I don't think the Context is the same as the JNIEnv? Thanks > Sent: Friday, April 03, 2015 at 2:16 PM > From:

Re: [Interest] QtMultimedia::registerMediaFile

2015-04-03 Thread Jason H
gArray); qDebug() << Q_FUNC_INFO << real; #endif } > Sent: Friday, April 03, 2015 at 2:31 PM > From: "Jason H" > To: "Thiago Macieira" , "interest@qt-project.org" > > Subject: Re: [Interest] QtMultimedia::registerMediaFile > > I th

[Interest] QtQuickCompiler very "crash happy" on Android 5.x?

2015-04-07 Thread Jason H
I have been working on a project on Android 4.x for several months. It has never crashed. Now that I am targeting a 5.x device (Nexus 6) the application seems to crash immediately in libc on startup. Some days it works reliably, other days it crashes constantly, with the same message "Fatal sign

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