Re: [Interest] How to set QtQuickControls Slider to an initial value without modifying the current saved?

2014-10-16 Thread Bo Thorsen
Den 16-10-2014 17:39, Nuno Santos skrev: > Hi, > > I’m using Slider from QtQuickControls and i’m facing a problem. I initialise > the value with a value saved on settings. However, when the slider is > instantiated, it is triggering onValueChanged with the default min value. The > setting is bei

Re: [Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-16 Thread Reinhardt Behm
On Thursday 16 October 2014 01:56:46 Mikhail Matrosov wrote: > Hello! > > In modern C++ there is almost no need to use raw *new* and *delete*. As > Bjarne Stroustrup is saying in his “A Tour of C++”: “Avoid ‘‘naked’’ new > and delete operations; §4.2.2.”. We use standard containers and smart > poi

[Interest] Qt::MakePointer for creating QPointer as std::make_shared for creating std::shared_ptr

2014-10-16 Thread Mikhail Matrosov
Hello! In modern C++ there is almost no need to use raw *new* and *delete*. As Bjarne Stroustrup is saying in his “A Tour of C++”: “Avoid ‘‘naked’’ new and delete operations; §4.2.2.”. We use standard containers and smart pointers for that, with std::make_shared and std::make_unique functions for

Re: [Interest] Buiding lib on ios 8

2014-10-16 Thread Tor Arne Vestbø
What's the output of xcode-select ? Do you have .qmake.cache or .qmake.stash files in your build dir? tor arne On 14/10/14 21:48, Christophe Thomas wrote: > Hello, > > I'm trying to build a working app for ios 8. It used to build on Ios 7.1. > > - I've done the update of xcode to move to new ver

[Interest] 3D Navigation QtLocation Module

2014-10-16 Thread Ramakanthreddy Kesireddy
Hi, Is it possible to implement 3D Navigation using Qt Location Module in Qt5.4 Beta? Thanks and Regards, Ramakanth Disclaimer: This message and the information cont

[Interest] QQuickGrabItemResult on iOS

2014-10-16 Thread Brian Dentino
Has anyone had any success using QQuickItem::grabToImage on iOS? I'm using it successfully on OSX and android, and it works perfectly fine in the iOS simulator (iOS 7 and 8), but when I run on an iOS device, the images come up empty. I've tried on both an iPad 2 and an iPhone 5s (both running iO

Re: [Interest] Apps crashing with ios8

2014-10-16 Thread Christophe Thomas
Hello, How can I get this ? In attached file the console log Chris 2014-10-16 9:54 GMT+02:00 Gustavsen Richard < richard.gustav...@theqtcompany.com>: > ​Do you have a stack trace? > > > -Richard > > > -- > *Fra:* interest-bounces+richard.gustavsen=theqtcompany...

Re: [Interest] HLS Streaming in Qt?

2014-10-16 Thread Mandeep Sandhu
Qt, natively does not support HLS. It'll depend on the backend that QtMultimedia uses on a particular platform. So check if the iOS backend supports (which it ideally should as HLS is from Apple too). I haven't played with QtMultimedia in a while so I'm not sure if juts passing an m3u8 url will wo

[Interest] How to set QtQuickControls Slider to an initial value without modifying the current saved?

2014-10-16 Thread Nuno Santos
Hi, I’m using Slider from QtQuickControls and i’m facing a problem. I initialise the value with a value saved on settings. However, when the slider is instantiated, it is triggering onValueChanged with the default min value. The setting is being correctly saved because I don’t show the slider r

[Interest] Avoiding binding loop

2014-10-16 Thread Nuno Santos
Hi, I’m trying to make a menu that grows below the selected item to show its contents. The code below is a part of the ListView delegate. The problem is that I want to make the contentContainer height equal to the content height, but I always end up with a binding loop. Rectangle { id: co

Re: [Interest] X86 64 bit Qt5.4 Alpha build error

2014-10-16 Thread Koehne Kai
> -Original Message- > From: interest-bounces+kai.koehne=theqtcompany@qt-project.org > [mailto:interest-bounces+kai.koehne=theqtcompany@qt-project.org] > On Behalf Of Ramakanthreddy Kesireddy > Sent: Thursday, October 16, 2014 12:24 PM > To: interest@qt-project.org > Subject: [Int

Re: [Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

2014-10-16 Thread Gunnar Sletta
On 16 Oct 2014, at 11:46, Roberto Garrido Martín wrote: > > > On 16 October 2014 11:16, Gunnar Sletta wrote: > > On 16 Oct 2014, at 09:45, Roberto Garrido Martín > wrote: > > > Hi all, > > We have our OpenGL ES 2.0 based renderer. Until now, we were integrating it > > into our Qt app by

[Interest] X86 64 bit Qt5.4 Alpha build error

2014-10-16 Thread Ramakanthreddy Kesireddy
Hi, I installed all the X11 packages and build the latest Qt5.4 Alpha on Ubuntu 14.04 desktop 64 bit machine. It gives the below error when I did make. g++ -Wl,--no-undefined -Wl,-O1 -fuse-ld=gold -shared -o libqxcb.so .obj/qxcbclipboard.o .obj/qxcbconnection.o .obj/qxcbintegration.o .obj/qx

[Interest] HLS Streaming in Qt?

2014-10-16 Thread Eckerle Andreas
Dear all, I would like to make an app for iOS and android featuring a HLS stream. Does Qt support HLS streaming maybe using a QML component? Especially on Android HLS support seems to be limited with Android versions below 4.4 so just opening a webView and using HTML5 video object will probably

Re: [Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

2014-10-16 Thread Roberto Garrido Martín
On 16 October 2014 11:16, Gunnar Sletta wrote: > > On 16 Oct 2014, at 09:45, Roberto Garrido Martín < > robertogarridomar...@gmail.com> wrote: > > > Hi all, > > We have our OpenGL ES 2.0 based renderer. Until now, we were integrating > it into our Qt app by using a QML Item/Node configuration, bu

Re: [Interest] Dropping data in a Item View class

2014-10-16 Thread Etienne Sandré-Chardonnal
I just found out the issue. Implementing mimeTypes() was the solution (the documentation for this function is quite obscure IMHO), but the dragEnterEvent of the view was then calling flags() on the model with an invalid index (col=row=-1, null pointer) which I did not properly handled in flags() su

Re: [Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

2014-10-16 Thread Gunnar Sletta
On 16 Oct 2014, at 09:45, Roberto Garrido Martín wrote: > Hi all, > We have our OpenGL ES 2.0 based renderer. Until now, we were integrating it > into our Qt app by using a QML Item/Node configuration, but the new > rendercontrol API in Qt 5.4 Alpha seems to be a more flexible solution, and

[Interest] Dropping data in a Item View class

2014-10-16 Thread Etienne Sandré-Chardonnal
Dear all, I cannot manage to enable dropping data into an Item View class. Basically: - The model is a custom QAbstractItemView subclass, having a tree structure. Column 1 is editable - The view is a standard QTreeView I would like to drop data from another widget in the editable field (colum

Re: [Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

2014-10-16 Thread Agocs Laszlo
Hi, We are not aware of any issues on OS X. The example worked pretty well on the OS X 10.9 machines I tried. If the problem is consistent, please create a bug report with more information about the hardware. Best regards, Laszlo From: interest-bounces+laszlo.agocs=theqtcompany@qt-project

Re: [Interest] Apps crashing with ios8

2014-10-16 Thread Gustavsen Richard
?Do you have a stack trace? -Richard Fra: interest-bounces+richard.gustavsen=theqtcompany@qt-project.org på vegne av Christophe Thomas Sendt: 15. oktober 2014 21:57 Til: interest@qt-project.org Emne: [Interest] Apps crashing with ios8 Hello, Now that I

[Interest] QQuickRenderControl example not working on Desktop OSX (Qt 5.4 Alpha)

2014-10-16 Thread Roberto Garrido Martín
Hi all, We have our OpenGL ES 2.0 based renderer. Until now, we were integrating it into our Qt app by using a QML Item/Node configuration, but the new rendercontrol API in Qt 5.4 Alpha seems to be a more flexible solution, and the proper way to integrate. I’m running the rendercontrol example dis