Re: [Interest] QML and ScrollView

2015-12-04 Thread rpzrpz...@gmail.com

Do mockup of your desired screen on smartphone and tablet.

Share that with group.

www.balsamiq.com -> 30 day trial -> PDF screen shot.

md

On 12/4/2015 10:24 AM, Mike Jackson wrote:
*To:* "Qt Project" >


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-09 Thread rpzrpz...@gmail.com
What's missing are any comment from Qt on its new CI and the specs 
behind it.


That would have been a great topic during Qt World 2015.

md

On 12/9/2015 3:31 AM, Ch'Gans wrote:

>I think it will be difficult for the Qt project to support all third party


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-09 Thread rpzrpz...@gmail.com
Because the original question is to explore the NEW CI that the Qt 
Company dev team has chosen

and understand it.

But other suggestions improve awareness as well.

md

On 12/9/2015 11:41 AM, NoRulez wrote:

Why not using Qt with CMake and Jenkins CI?
With this combination you could also use non Qt related projects.

Best Regards


Am 09.12.2015 um 14:26 schrieb "rpzrpz...@gmail.com" :

What's missing are any comment from Qt on its new CI and the specs behind it.

That would have been a great topic during Qt World 2015.

md


On 12/9/2015 3:31 AM, Ch'Gans wrote:

I think it will be difficult for the Qt project to support all third party

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-11 Thread rpzrpz...@gmail.com

Tony:

Thank you for this information.

It is exactly what I asked for when I originally posted to the interest 
list.


As the CI lead, maybe the goal is to share notes among the community
so that more Qt devs can increase their value by having strong CI 
capability added to

their tool kits.

md

On 12/11/2015 2:16 AM, Sarajärvi Tony wrote:

> I added your reply to my personal Wiki.  Is there a public Qt CI 
Wiki?  This overview might be nice to add to it for others to find.

Yes there is, but they have been neglected for some time. I should perhaps go 
through them and update them with some useful information.


> I cannot find any reference to "Coin CI".  Is this an open source or 
commercial tool?  A Qt internal tool?

Internal tool created from nothing. Sources aren't public as of yet anyway

> So you have multiple OVF VM templates on your SAN that you deploy 
dynamically?  Like one OVF for VS2012, one for VS2015, etc?

Actually they are just VmWare templates, but yes on the SAN. We create linked 
clones of the 'master' templates for cloning a VM. That way any new VM is 
created in seconds instead of cloning the whole VM.

We actually have combined all SDK's into the same template VM, but by changing 
PATH, LIB, INCLUDE etc on the fly, we choose which versions we want to use. So 
our Windows 7 template includes 3 or 4 different Visual Studios.

> I should research Puppet for clean OS build machine creation for OS 
X, Windows, and Linux.  I really liked RHEL kickstart file for the purpose.  
Perhaps Puppet can be used to provide a similar solution for other platforms.

Yes, Puppet can be used for it. However we tend to dislike the syntax and 
complexity of those scripts. I'd compare solutions before running into Puppet 
;)  

  


> In my current work I Windows and OS X build VMs.  I would not know 
where to start to create clean slate OS installer scripts for these platforms.  
Maybe Puppet.

Chef is also one we investigated here, just to mention an alternative.
While working with virtual machines however, you might want to weight the 
benefits of scripting things. With virtual machines you can create quick 
backups and also use snapshots to get back to previous states. So in theory you 
only need to install stuff once. Scripting that takes longer than it actually 
takes for you to install it manually, so depending on the use case you have, 
you might be better off by just having the install commands listed in a text 
document :P Also keep in mind the reverse engineering that has to be done by 
the next person when you do scripts. A plain text document is more readable by 
anyone.

> Thank you for your time!
Anytime :)


> -Ed
-Tony
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-16 Thread rpzrpz...@gmail.com

On 12/16/2015 1:34 AM, Fathi Boudra wrote:

On Tue, Dec 15, 2015 at 4:27 PM, Bo Thorsen  wrote:

Den 11-12-2015 kl. 09:16 skrev Sarajärvi Tony:

 > I cannot find any reference to "Coin CI".  Is this an open
source or commercial tool?  A Qt internal tool?

Internal tool created from nothing. Sources aren't public as of yet anyway


I'd like to see that done. I'm also interested in hearing about why you
chose to do this, as there are so many CI systems available already.

My guess is that this is because you want a system that can create virtual
machines on the fly? I'd be interested in getting such a system set up for
our own build server. So you could have your first contributor soon :)

btw, you can achieve the same with Jenkins and Docker. Jenkins has a
docker plugin, which can spawn ephemeral or persistent docker build
slaves (very similar to EC2 slave if you're familiar with it). Puppet
isn't required in this setup as you can use Dockerfiles to maintain
the virtual machines. Another interesting project that you might find
useful is Jenkins Job Builder from OpenStack infra folks. It allows to
write the Jenkins jobs in yaml (human readable) and store them as
plain text in your favorite SCM like git.

Cheers.


Bo Thorsen,
Director, Viking Software.

--
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

What are you doing to run OSX / Xcode with docker images?

md



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-16 Thread rpzrpz...@gmail.com
I use Jenkins now for Android, iOS, OS X, Linux, & Windows builds. 
Jenkins + Docker sounds interesting. I assume one advantage is it is 
light weight compared to having to store a bunch of large VM images? Can 
Docker be used to deploy OS X Xcode and Windows Visual Studio build 
slaves? Or is the Docker engine always running a Linux system of some 
sort regardless if the engine host is Windows? -Ed


Edward:

How are you verifying Android and IOS builds?

Using simulators or actual devices?

md
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] New CI for Qt (and OpenSource Qt/QtC 3rd parties)

2015-12-16 Thread rpzrpz...@gmail.com



On 12/16/2015 10:38 AM, Edward Sutton wrote:

On Dec 16, 2015, at 8:49 AM, rpzrpz...@gmail.com wrote:

I use Jenkins now for Android, iOS, OS X, Linux, & Windows builds. Jenkins + 
Docker sounds interesting. I assume one advantage is it is light weight compared to 
having to store a bunch of large VM images? Can Docker be used to deploy OS X Xcode 
and Windows Visual Studio build slaves? Or is the Docker engine always running a 
Linux system of some sort regardless if the engine host is Windows? -Ed

Edward:

How are you verifying Android and IOS builds?

Using simulators or actual devices?

Manual testing using actual hardware.

An automated-smoke test would be nice. I do not know how I would do this.

-Ed



Yes, real device testing in the CI would be great.

For android, you would have to automate GDB to uninstall and reinstall 
apk files.


Then have code to support the simulation of user input and sensor data.

It would be likely impossible to verify the GUI side, but models and 
business logic could be verified.


And high volume testing could be executed.

IOS is a different animal.  Likely have to jailbreak a device just to 
get into it for automated program removal and testing.



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt ListView Christmas Bug

2015-12-24 Thread rpzrpz...@gmail.com
Tried every combination of calling dataChanged( ) to force ListView to 
actually repaint to no avail on OSX and 5.5.1 QML Listview


Sparse examples and references found online have no effect, nothing will 
force any row or an entire ListView to repaint itself.


So far, only resetmodel( ) works to force repaint, but it has terrible 
exception problems with abstractlistmodel destructor

as detailed in https://bugreports.qt.io/browse/QTBUG-50169

md


On 12/24/2015 1:56 PM, mark diener wrote:

Does anybody have a different way to cause a ListView to re-retrieve
the data in the model without causing AbstractListModel destructor
exceptions.

Using  beginResetModel() / endResetModel() in the abstractlistmodel causes
the model destructor to be called with:


testalert(1543,0x7fff72265000) malloc: *** error for object
0x7fff5fbff568: pointer being freed was not allocated

*** set a breakpoint in malloc_error_break to debug

But at no point, either explicity or implicitly do I try to free any models.

Removing calls to beginResetModel() / endResetModel() gets rid of the
exception but then I lose my ability to cause ListView to re-paint
itself with new data. (But no rows added or removed)

There is nothing obvious to call in the docs when you are NOT
inserting or removing rows, but changing the data the of rows already
displayed.

>From the docs:

void QAbstractItemModel::dataChanged(const QModelIndex & topLeft,
const QModelIndex & bottomRight, const QVector & roles =
QVector ())

This signal is emitted whenever the data in an existing item changes.

The abstractitem example does NOT show how to call dataChanged() effectively.

Still looking for example on-line.

Merry Christmas,

md



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Android Studio 1.5.1 with Qt 5.5.1 OSX

2016-01-04 Thread rpzrpz...@gmail.com

Oops, sorry, message double sent.

md

On 1/3/2016 10:50 PM, mark diener wrote:

Hello List:

Anybody run into problems with gradle
from qt 5.5.1 projects?  qt5.6 beta projects:

Lots of problems with Gradle not knowing which way is up by opening
gradle.build.

Error:(37, 0) Could not find property 'androidCompileSdkVersion' on
com.android.build.gradle.AppExtension_Decorated@4f513134.
Open
File

I am trying various combinations of Android Studio to see which one
will work with Qt 5.5.1 or Qt 5.6 beta on OSX.

Tried Android Studio 1.4.1 and 1.5.1.

http://www.kdab.com/qt-android-episode-6/

Which version of Qt vs Android Studio vs Android SDK 4.4.4 or 5.1.1?

Cheers,

md
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] QQuickTextNode not reachable from QQuickItem

2016-01-14 Thread rpzrpz...@gmail.com

Dmitry:

When you are trying to have the text an active part of the control, 
responding to mouse/touch events in coordination with the changing 
Geometry nodes as they occur.


So in essence, the lack of access to the QQuickTextNode means that the 
most control is in QuickPaintedItem, but that method has unknown 
performance limits

as compared to the super speedy scenegraph.

Trying to emit signals out of the QuickItem means that your text is 
lagging the QuickItem and now you have quite a code pattern going that 
is kluge at best.


I will try to skin the cat using QuickPaintedItem for now.

Don't you think its time for text to be under the control of QQuickItem?

We need QSGTextNode for that.

Thanks for the response.

Mark

On 1/14/2016 2:43 PM, Dmitry Volosnykh wrote:

Hi, Mark.

I guess you should implement it without using QQuickTextNode directly. 
Instead, you could try to put text in a usual way on top of your 
custom item. Is there anything that prevents you from achieving your 
goal this way?


Regards,
Dmitry.

On Thu, Jan 14, 2016 at 11:32 PM mark diener > wrote:


Hello List:

Well after pouring thru 5.5.1 source code, I find that QQuickTextNode
is really not intended to be used in QQuickItem derived classes.

There is not visible header file from projects.

Lots of various google references to similar challenge of text in
QQuickItem.

At this point, my only C++ way for custom components with text is
QQuickPaintedItem.

Anyone have thoughts on how to output text into QuickItem stuff?

Thanks,

md
___
Interest mailing list
Interest@qt-project.org 
http://lists.qt-project.org/mailman/listinfo/interest



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Video file generation from Qt application, other than FFmpeg

2016-01-22 Thread rpzrpz...@gmail.com

Why don't you look into VP8 or VP9 from google, open source free..?

FFmpeg is maybe less quality codec.

md

On 1/22/2016 2:23 PM, Mike Chinander wrote:
I'm not a lawyer, but as long as you follow all the items in the 
"License Compliance Checklist" on that page, you can use the FFmpeg 
library in commercial software since you would be complying to their 
LGPLv2.1 license. That 'Note that...' sentence says there is no 
separate commercial license that can be obtained for using FFmpeg 
under different terms, it doesn't say that it can't be used in 
commercial applications.


On Fri, Jan 22, 2016 at 2:14 PM, Phil Weinstein > wrote:


Samuel, thanks for your response.

It looks like *FFmpeg* is really NOT an option for *commercial
applications* -- See for example:
https://www.ffmpeg.org/legal.html (see especially the "Note that
FFmpeg ..." sentence and the last two paragraphs on the page).

I see that *OpenCV* ... http://opencv.org/ ... states that it's
"free for both academic and commercial use", but there seem to be
issues with this, e.g. as raised on this thread: "OpenCV Free for
Commercial use" ...
http://answers.opencv.org/question/73877/opencv-free-for-commercial-use/


We really need to be squeaky clean on licensing. So we may be
willing to pay a reasonable fee for the ability to *generate
(create) video FILES* given a sequence of QImages or QPixmaps. (Or
at least with the possibility of getting frame image DATA from
either of those Qt classes into the thing).

Can anyone point me to authoritative information delineating why
/and how/ these things CAN be used in commercial applications?

- Phil



On 1/21/2016 1:46 PM, Samuel Gaist wrote:

On 21 janv. 2016, at 21:15, Phil Weinstein 
  wrote:


We will not be able to use the FFmpeg library for video generation from our 
Qt application. Are there any other tools/products usable with Qt which can do 
basic generation of video files, given a sequence of QImages or QPixmaps? We 
don't need audio with the video.

(Sorry for the repost. My original message went deep into a completely 
unrelated thread).

Hi,

Out of curiosity, why can't you use ffmpeg ?

There's VLClib that you can use but it's also ffmpeg based so it could be 
problematic.

OpenCV can also create video files.

Hope it helps
Samuel




___
Interest mailing list
Interest@qt-project.org 
http://lists.qt-project.org/mailman/listinfo/interest




___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Minimal MSVC-built ICU DLLs available for download

2016-01-24 Thread rpzrpz...@gmail.com

Elvis:

If you are feeling generous, would you attach the MSVC 2013 
project/files (SLN).


People will want to build the ICU DLL's for MSVC 2015, but could use a 
jump start using your MSVC 2013 project.


That way, soft devs can match the Customizer to the actual languages 
supported in their shipped apps.


Cheers and Thanks,

md

On 1/24/2016 9:18 AM, Elvis Stansvik wrote:

Hi all,

I've put up minimal MSVC 2010 and 2013 builds of ICU 52.1, 53.1 and
54.1 for x86 and x64:

https://github.com/estan/minimal-icu/releases

The DLLs are usable as drop-in replacements for the ICU DLLs shipped
with official Qt MSVC builds, provided you have no need for the
advanced localization features provided by ICU.

Just thought in case someone else was interested in cutting down the
size of their deployed app, without having to build a custom Qt with
`-no-icu`. I'm only using the ICU 54.1/MSVC 2013/x86 combo myself, and
my app is only making use of QtCore, so consider other combinations
untested for now.

For me this cuts the size of the ICU DLLs from 8.5 MB to 1.4 MB in my
deployed application. The space savings for other combinations should
be similar.

The size of the DLLs was reduced by using the ICU Data Library
Customizer [1] and unchecking everything. See the `appveyor.yml` file
for more info on how the DLLs were built.

Cheers,
Elvis


[1] http://apps.icu-project.org/datacustom/
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Minimal MSVC-built ICU DLLs available for download

2016-01-25 Thread rpzrpz...@gmail.com

Koehne:

What does that mean for unicode support with qt5base since qt 5.6 are 
not linking icu?


Is this going to require that we build our own ICU so that QString is 
unicode ready?


Thanks,

md

On 1/25/2016 1:24 AM, Koehne Kai wrote:



-Original Message-
From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Elvis
Stansvik
Sent: Sunday, January 24, 2016 10:30 PM
To: rpzrpz...@gmail.com
Cc: interest@qt-project.org Interest 
Subject: Re: [Interest] Minimal MSVC-built ICU DLLs available for download

2016-01-24 17:32 GMT+01:00 rpzrpz...@gmail.com
:

Elvis:

If you are feeling generous, would you attach the MSVC 2013
project/files (SLN).

People will want to build the ICU DLL's for MSVC 2015, but could use a
jump start using your MSVC 2013 project.

Hi again,

I did some experiments just now, trying to build ICU with 2015, but got
linker errors.

It also seems that ICU has other problems when building with 2015 (e.g.
http://bugs.icu-project.org/trac/ticket/11798).

Also, I think (though I'm not sure) that from Qt 5.6, the official Qt builds
with default to -no-icu, and since the DLLs I built were primarily meant to be
used with the official Qt builds, I think I'll hold off on building with 2015 
for
now, since I'd have to patch ICU to do so.

True. For Qt 5.6, ICU libs will be dropped from the official packages 
completely.

(In case that was missed: in the official Qt 5.5 binaries already  _only_ 
Qt5WebKit
links against ICU libs. Qt5Base does not link against it).

Regards

Kai



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Minimal MSVC-built ICU DLLs available for download

2016-01-25 Thread rpzrpz...@gmail.com

Gunnar:

Just because something is linked to ICU dlls does not mean that those 
dlls are required.


Dependency walker only shows linkage, not necessity.

I would say that I learned something as well.

md

On 1/25/2016 3:06 PM, Gunnar Roth wrote:


> Woah. So all this work for nothing, I can simply skip shipping the 
ICU DLLs? I'm only using QtCore. Oh well, then I learned something :)


Maybe you should use depends.exe from dependancywalker.com 
 to have a look which dlls are really 
demanded from an exe or dll next time ;-)


Regards,
Gunnar Roth


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Minimal MSVC-built ICU DLLs available for download

2016-01-26 Thread rpzrpz...@gmail.com

On 1/25/2016 10:04 PM, Thiago Macieira wrote:

On Monday 25 January 2016 20:01:15 rpzrpz...@gmail.com wrote:

Gunnar:

Just because something is linked to ICU dlls does not mean that those
dlls are required.

Dependency walker only shows linkage, not necessity.

Indeed you're right: it does not indicate necessity. But you still need to
ship them: the program will not load unless all linked DLLs are present.



Thiago:

Since elvis was laboring to build them from scratch to reduce package 
size, it was helpful to know that

we can skip that entirely in a 5.6 Webkit free zone.

I found Gunnar to be making a point at best tangential to Elvis taking 
the time to build ICU from source.


And both of us hope to get to a package where there are no linked ICU Dlls.

Bye Bye ICU.
We won't shed any tears.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Android Studio and Qt

2016-02-24 Thread rpzrpz...@gmail.com

Jason:

On 2/24/2016 8:38 PM, Jason H wrote:

How does one "regenerate it back into the build directory"?


You want to look at the "use gradle builds" and then generate android 
files in the project android setup in project preferences.


This will create an android subdirectory from your project main 
directory.  Put in their your MyActivity.java override java files and 
then edit them.


When you "regenerate the project", these files are copied into the 
android-build directory.


cheers.

md


I would figure that there would be some ability to extend the supplied 
QtActivity and tell the build system to use that? But it seems like I need to 
set up some build steps to overwrite the supplied activity? That doesn't seem 
'Qt' to me.

Many thanks for the insights so far!


Sent: Wednesday, February 24, 2016 at 8:25 PM
From: "m...@rpzdesign.com" 
To: No recipient address
Cc: "Jason H" , "interest@qt-project.org" 

Subject: Re: [Interest] Android Studio and Qt

Yes, edit the java code uptream and regenerate it back into the build
directory.



On 2/24/2016 6:41 PM, Jason H wrote:

Hrm, that's not what the instructions said, but I can see your point. If 
correct though, I'd be usin the Qt-supplied/generated classes, but that means 
I'm editing code in the build dir? Shouldn't the code be under my project's 
android dir?

The article alludes to a projdir/android/src/com/company/... directory.



Sent: Wednesday, February 24, 2016 at 5:59 PM
From: "m...@rpzdesign.com" 
To: interest@qt-project.org
Subject: Re: [Interest] Android Studio and Qt

Jason:

Its a little tricky, I think you have to open up the created project in
the build directory, not try to import from the source directory tree
where the qmake pro file is located.

Look at Build Settings -> Build Steps -> Make: main in /bla/bla/bla
directory and find the Debug -> android-build directory and magically
inside this directory is another gradle file.

Import from that build location and Android Studio will come up and be
able to process the java files while the compiled so C++ files are
loaded but not able to step into them as a native library.

That help?

md

On 2/24/2016 4:41 PM, Jason H wrote:

There is a step missing in http://www.kdab.com/qt-android-episode-6/
Where we go from importing the build.gradle to somehow having Java source to 
start debugging.

Can someone fill in the missing steps?
I didn't find any .java files.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest





___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Android Studio and Qt

2016-02-25 Thread rpzrpz...@gmail.com
You should look at the episodes 1-7 more carefully before tearing into 
QtActivity.


md

On 2/25/2016 7:47 AM, Jason H wrote:

Jason:

On 2/24/2016 8:38 PM, Jason H wrote:

How does one "regenerate it back into the build directory"?

You want to look at the "use gradle builds" and then generate android
files in the project android setup in project preferences.

Did that.
  

This will create an android subdirectory from your project main
directory.  Put in their your MyActivity.java override java files and
then edit them.

I already had an android directory, maybe this is an issue. Is there a skeleton 
override file provided for me to start with? Should I just copy the default 
QtActivity?


When you "regenerate the project", these files are copied into the
android-build directory.


Thanks for the help. I now have something to look into.



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Upcoming mobile Qt features?

2016-03-14 Thread rpzrpz...@gmail.com

Don't wait for anything.

Native code for Android and IOS.

md

On 3/14/2016 1:26 PM, Jason H wrote:

I'm being asked for more modern features, I don't know where these are on the 
Qt roadmap?

- TouchID/FingerprintManager:
   Now that both mobile platforms have platform-level APIs for fingerprints, is 
Qt going to support them in some way?

- Streaming video:
   Capture, send, receive "live" video to enable real-time video chat, yes, 
like skype/google hangouts/facetime.

Meanwhile, I'm still looking for Qt to abstract these mobile old-but-goodies:
- Push notifications
- Background operations
- Screen wake-locking
(I have a platform shim for those, but would just prefer to use a standard 
x-platform interface)

Anyone know the 5.7/5.8 roadmap? The only mobile thing listed on the wiki is:
- Android: Qt can now be used to easily create Android Services*

* This seems to be an either-or. Not an app with services?

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] How to scale/transform GUI for screens with wide pixels (non-square)

2016-04-19 Thread rpzrpz...@gmail.com

De-stretch with a multiplier and then calibrate.

You need to map 520 back to 480 and lose some pixels in the process.

Some Android devices (Chuwi 8) have massive reported distortion.  So a 
calibration screen is necessary since
you cannot figure it out by querying the GPU.

md

On 4/19/2016 12:30 AM, Callum Coe wrote:


I’ve an  embedded device with a physical screen resolution of 800 x 480, but 
the pixels themselves are actually wider than they are high.

The entire GUI therefore appears stretched, so it looks like a 800 x 480 GUI 
stretched to fill 800 x 520 screen.

How am I best to handle this, so my GUI does not appear wider than it should?

Thanks,

iVolve 



*Callum Coe *
Engineer
*t: *+61 (7) 3253 6700 *w: *www.ivolve.com  iVolve LinkedIn 
iVolve Twitter 

5/36 Agnes St, Fortitude Valley, Brisbane QLD 4006

This e-mail and any attachments are private and confidential and may contain 
legally privileged information. If you are not an authorised recipient, the 
copying or distribution of this e-mail and any attachments is prohibited and 
you must not read, print or act in reliance on this e-mail or attachments. This 
notice should not be removed.



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] [SOLVED] Re: TextField Focus onReleased

2016-04-23 Thread rpzrpz...@gmail.com

On 4/22/2016 8:26 PM, mark diener wrote:

Hello:

Can anybody figure out a way for a TextField which contains its own MouseArea
to allow the TextField to gain focus when the onReleased event is
called, not the normal behavior of focus gained when the onPressed is
triggered.

Any response appreciated,

md



Ok, the inheritance nature of QML is not the prettiest, but there is a solution.

To take control of the focus timing and delay focus upon MouseArea -> 
onPressed, you must test if the control has focus, if not,
set a state pressed flag and return with mouse.accepted = true.

In the onReleased, again have mouse.accepted = true, and set focus to the 
control.

But now that the control has focus, you must have mouse.accepted = false for 
both Pressed and Released.

This is kind of a kluge, but that is the way you do it.

Hope it helps someone.

md
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Loader QML Transitions

2014-11-06 Thread rpzrpz...@gmail.com
Does anybody have a comment about the Loader QML component.

I would like to support a IOS like Segue where the current QML file has
a graphic transition to another QML file

When I set the source of a loader component, obviously it dumps the
current QML OpenGL objects and loads the new QML objects.

But is there a way to define a transition between the QML source so that
the appearance of an IOS Segue when the entire screen flies away and
rolls away.

Loader QML Snippet:

import QtQuick 2.2
import QtQuick.Windows 2.1

Window {

id: topwindow
visible: true

width: Screen.width
height: Screen.height
color: "black"
title: "test"

Loader
{
id: genload
anchors.fill: parent
source: "startup.qml"
onLoaded:
{
item.focusinit()
}

}

function setsource(srcqml)
{
genload.source = srcqml
}

}
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt Quick Compiler

2014-11-14 Thread rpzrpz...@gmail.com
Then that would make the benchmarks that Harri requested a mute point.

Unless you "make clean", the incremental build would not care about
10,000 lines of QML code. It would only "slow" down on the changed QML.

Is there an option to turn off the Quick Compiler for beta builds and
only kick it on during release?

md


On 11/14/2014 3:01 AM, Portale Alessandro wrote:
> According to a quick test I did just now, with Qt 5.4-beta (Qt Quick Compiler 
> 2.0) on msvc2013, it only re-compiles the changed qml files.
> 
> Best regards,
> Alessandro Portale
> 
> Betreff: Re: [Interest] Qt Quick Compiler
> 
> Does the quick compiler only re-compile those QML files that were
> changed or does it re-compile ALL QML every time regardless of changes
> to the QML files or not?
> 
> On 11/13/2014 8:10 PM, Yang Fan wrote:
>> I have not test the running improvement. But I can tell you that it slow
>> down the build process significantly if you have many QML files. Every
>> QML file will be converted to a cpp file which will be compiled, you
>> know the C++ compiler is very slow.
>>
>> On Thu, Nov 13, 2014 at 11:42 PM, Harri Pasanen > > wrote:
>>
>> Hi,
>>
>> Are there benchmarks on how  much start-up time is improved with the Qt
>> Quick compiler?
>> Say I have 1 lines of QML on Android, any idea how many percent gets
>> shaved off the start-up time?
>>
>> Is the improvement identical across platforms, iOS, Android, desktop
>> ...?
>> Is the compiler itself fast, will it slow down the build/deploy cycle
>> significantly?
>>
>>
>>
>> Curious,
>>
>> Harri
>>
>>
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org 
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>>
>>
>> --
>> Regards,
>> Fan Yang
>>
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Restart Qt/Android application

2015-03-25 Thread rpzrpz...@gmail.com
http://stackoverflow.com/questions/6609414/howto-programatically-restart-android-app

Look at the answers..

md


On 3/25/2015 3:23 AM, Luís Filipe Salé Borlido wrote:
> ​​Hi,
>
> Is there any way to restart a Qt/Android application?
> I already tried the methods described in the following pages:
>  - http://wiki.qt.io/ApplicationRestart
>  - https://forum.qt.io/topic/6155/solved-restart-a-qt-application/2
> but none of them works for an Android application, only for desktop.
>
> Best regards,
> Luís Borlido
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>


-- 
No spell checkers were harmed during creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-14 Thread rpzrpz...@gmail.com
Mr Li:

That was tried as well and did not work.

A copy of your suggestion is below and it does not work on:

Yosemite OSX 10.10.2
Xcode 6.1.1
Qt 5.4.1
Qt Creator 3.3.2

Anyone else with some ideas?

Thanks

#

import QtQuick 2.4

import QtQuick.Window 2.2

import QtQuick.Controls 1.3



ApplicationWindow {


 id: mainwindow


 visible: true


 width: Screen.width

 height: Screen.height

 color: "black"

 title: "Mockup"


 menuBar: MenuBar

 {

 id: mainmenu

 Menu

 {

 title: qsTr("Mockup")

 MenuItem

 {

 text: qsTr("Exit")

 onTriggered: Qt.quit() ;

 }

 }

 }
}


On 4/14/2015 12:25 PM, Daiwei Li wrote:
> You have to use an ApplicationWindow as your top-level item and assign
> your MenuBar to the menuBar property of it:
> http://doc.qt.io/qt-5/qml-qtquick-controls-applicationwindow.html#menuBar-prop
>
> On Tue, Apr 14, 2015 at 10:05 AM, mark diener  > wrote:
>
> Hello:
>
> Tried using a MenuBar QML component with a Window component on OSX
> yosemite, but
> the Menubar does not appear at all.
>
> Anybody have a tip on menubar visibility or usage on OSX?   (Any
> gotchas in windows?)
>
> Thanks all,
>
> md
>
>
> import  QtQuick  2.4
>
> import  QtQuick.Window  2.2
>
> import  QtQuick.Controls  1.3
>
>
> import  "main.js"  as  Gjs
>
>
> Window  {
>
>
>  id:  mainwindow
>
>
>  visible:  true
>
>
>  width:  Screen.width
>
>  height:  Screen.height
>
>  color:  "black"
>
>  title:  "Mockup"
>
>
>  MenuBar
>
>  {
>
>  id:  mainmenu
>
>  Menu
>
>  {
>
>  title:  qsTr("RpzMockup")
>
>  MenuItem
>
>  {
>
>  text:  qsTr("Exit")
>
>  onTriggered:  Qt.quit()  ;
>
>  }
>
>  }
>
>  }
>
> }
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org 
> http://lists.qt-project.org/mailman/listinfo/interest
>
>


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt 5.4.x QML Quick2 OSX STANDARD framework deployments

2015-05-10 Thread rpzrpz...@gmail.com
Oliver:

I took your advice to heart.

I think there is a happy middle ground using scripts.

During in-house development, I can send everyone a given app with a 
fully self contained bundle.  Ultimately, this will satisfy store 
requirements.

But for in-house development, 2 script files can run macdeployqt, 
extract and compress the binary inside the testapp.app file, and place 
the smaller file onto the DropBox distribution directory for over the 
internet distribution.

On the user side, they can run a script to import the compressed binary 
into the proper testapp.app file on their local machine.

This will avoid the repeated download of the massive QT5 libraries and 
frameworks everytime we ship a new version of the application.

And it will not break the protocol of using self contained bundles for 
applications.

Cheers,

Mark



On 5/9/2015 1:26 AM, Till Oliver Knoll wrote:
>
>
>
>
>> Am 09.05.2015 um 03:01 schrieb mark diener :
>>
>> Found a reference to the issue to install into /Library/Qt directory and 
>> install-name-tool :
>
> Just be aware that this is /very/ unusual for OS X apps to do: the expected 
> way is really that each app bundle is self-contained and links against 
> "system provided frameworks" (Cocoa and friends). Even if that means that 
> each application brings along its own Qt libs...
>
> Needless to say that the former approach needs an "installer" (which is 
> discouraged very much by Apple) and you run into issues when users want to 
> get rid of one of your applications: "Who is the last to remove the shared Qt 
> libraries"?
>
> And what happens if a user installs an older app, possibly overwriting a 
> newer shared Qt library? Your installer needs to do a version check etc. to 
> solve this.
>
> And it goes without saying that your applications will never make it into the 
> Mac App Store that way - if that's what you want.
>
>
> On the other hand if we're talking about some "in-house tools" which are 
> deployed in a controlled manner then this is a fine approach :)
>
> Just some thoughts...
>
> Cheers,
>Oliver
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Google Play 60-day deadline for resolving OpenSSL vulnerabilities

2015-05-15 Thread rpzrpz...@gmail.com
Thiago:

What do you mean by the phrase "Upgrade and re-load to Google"

Are the OpenSSL libraries linked into the APK from your local NDK?

Or are the OpenSSL libraries on the smartphone or tablet device already?

Thanks for your response,

Mark


On 5/7/2015 7:51 PM, Thiago Macieira wrote:
> On Thursday 07 May 2015 21:54:54 Nuno Santos wrote:
>> I have just received this message from Google Play.
>>
>> Since I haven’t linked with OpenSSL explicitly, is there any chance of this
>> being an implicit link from Qt.
>
> Yes, QtNetwork links to OpenSSL (or, rather, loads it dynamically).
>
> But in order for that to work, you must have included it in your .apk. Just
> upgrade and re-upload to Google.
>


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] SingletonType functions not visible in QML

2015-05-22 Thread rpzrpz...@gmail.com
Hello:

So do we need a static Sing* in the singleton provider or is the example 
in the documentation correct?

I would guess the provider is called ONCE by the QML engine and not 
multiple times, but I am usually mistaken.

But I guess the static allocation will remove all doubt?

Ben Lau -> Thank you
Dmitry Volosnykh -> Thank you

Mark


On 5/22/2015 8:35 AM, Samuel Stirtzel wrote:
> 2015-05-22 16:30 GMT+02:00 Dmitry Volosnykh :
>> Samuel, what you ask is explained here:
>> http://doc.qt.io/qt-5/qqmlengine.html#qmlRegisterSingletonType-2
>>
>> citation:
>>
>> NOTE: A QObject singleton type instance returned from a singleton type
>> provider is owned by the QML engine. For this reason, the singleton type
>> provider function should not be implemented as a singleton factory.
>>
>
> Ah ok thanks, at the first glance this code looked quite malicious,
> but reading the documentation sure helps ;)
>
>> On Fri, May 22, 2015 at 5:27 PM, Samuel Stirtzel 
>> wrote:
>>>
>>> 2015-05-22 15:56 GMT+02:00 mark diener :
>>>
 static QObject *singprovider(QQmlEngine *gengine, QJSEngine
 *gscriptEngine)
 {
  Q_UNUSED(gengine)
  Q_UNUSED(gscriptEngine)
  Sing* gsing = new Sing();
  return gsing;
 }
>>>
>>> Is the return value of the function cached in qt internally?
>>> Or will this just create a new "singleton" with every call?
>>>
>>> how about this:
>>>
>>> static Sing* gsing = new Sing();
>>>
>
>

-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] [SOLVED]Re: Android Rotation Bug

2015-06-06 Thread rpzrpz...@gmail.com
Ok, many hours after trying to isolate the problem>

Window.visibility : Qt.WindowFullScreen

Thanks all.

md

On 6/6/2015 7:34 PM, mark diener wrote:
> Hello:
>
> Came across an kind of nasty bug on Android.
>
> https://bugreports.qt.io/browse/QTBUG-46513
>
> I have posted SEXY video links of the bug on 2 android flagship devices
> and the simple sample code to generate it.
>
> Screen.height is getting slightly artificially increased (20 px) on
> device rotation
> and thus any anchors.bottom : parent.bottom means the anchored QML
> items are rendered clipped at the lower edge of the screen.
>
> Now I am thinking as a workaround to use anchors from the TOP of the screen
> or maybe grab screen values and force a different interpretation of
> screen height
> upon rotation.
>
> Only screws up on SOME android devices, it just happen that the only
> fully working device in my
> inventory is a Galaxy Tab Pro 8.4 4.2
>
> But Nexus 7 2012 4.4.4, Nexus 7 2012 5.0, Galaxy S2 4.1.2 all suffered
> the False android bottom bug.
>
> Suggestions welcome?
>
> QML works great on IOS simulator and OSX desktop.
>
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] 5.4.2 Android Misery just one typo away

2015-06-16 Thread rpzrpz...@gmail.com
All of us open source hacks have at least some duty to report landmines 
to the rest.

2 years?
Burned as well.
More prominent in the docs?

The docs could serve a wider audience by adding in "landmines"
notes in each section where there is a reported landmine.

Landmine defined as passing compiler checks but definitely a user error. 
  In my case, a bloody typographical error.

md

On 6/16/2015 10:13 AM, william.croc...@analog.com wrote:
>
>>>
>>> it just so happens that one of the possible undefined behaviors is to run
>>> exactly like you expected it to.
>>
>> Good explanation!
>>
>> I wish this was yet more prominent in the docs. It took me actually 2
>> years to figure out that exactly this had been the cause that some of my
>> command line tools kept randomly crashing on all desktop platforms.
>>
>
> I was burned by this as well, just not as bad.
>
> Bill
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Extremely sluggish browser performance in Qt 5.5

2015-06-18 Thread rpzrpz...@gmail.com
On 6/18/2015 5:38 PM, John C. Turnbull wrote:
> All I am doing is running the WebEngine Tab Browser example from Creator
> 3.4.0 which comes with the version of Qt that I downloaded which is
> 5.5.0 MSVC2013 64-bit.  I have selected to build for RELEASE and then I
> just run it.
>
> The machine is a powerful Dell Precision 7500 Workstation with 2 x Xeons
> and 64G of RAM and a Quadro FX 5800 GPU.
>
> The browser performance is absolutely woeful to the point of being unusable.
>
> *From:*Mark Langezaal [mailto:mark.langez...@xs4all.nl]
> *Sent:* Thursday, June 18, 2015 9:11 PM
> *To:* John C. Turnbull; interest@qt-project.org
> *Subject:* Re: [Interest] Extremely sluggish browser performance in Qt 5.5
>
> Perhaps you have linked to a non optimized Qt package? (-O0 in stead of -O2)
>
> Not sure how this could happen.
>
> Did you compile it yourself?
>
> Mark
>
>  Oorspronkelijk bericht 
>
> Van: "John C. Turnbull"
>
> Datum:18-06-2015 07:25 (GMT+01:00)
>
> Aan: interest@qt-project.org 
>
> Onderwerp: Re: [Interest] Extremely sluggish browser performance in Qt 5.5
>
> Anyone???
>
> *From:*John C. Turnbull [mailto:ozem...@ozemail.com.au]
> *Sent:* Monday, June 15, 2015 7:31 AM
> *To:* 'interest@qt-project.org'
> *Subject:* RE: [Interest] Extremely sluggish browser performance in Qt 5.5
> *Importance:* High
>
> Hasn’t anyone else tried out the WebEngineView in Qt 5.5 QML?  I just
> can’t explain why it takes minutes to load pages that load
> instantaneously in Chrome or Firefox.  This is really hurting us,
> especially the unusable Google Maps…
>
> *From:*interest-bounces+ozemale=ozemail.com...@qt-project.org
> [mailto:interest-bounces+ozemale=ozemail.com...@qt-project.org]
> *On Behalf Of *John C. Turnbull
> *Sent:* Friday, June 12, 2015 5:41 AM
> *To:* interest@qt-project.org 
> *Subject:* [Interest] Extremely sluggish browser performance in Qt 5.5
>
> I am just trying out the “nano browser” in Qt 5.5 on Windows 7 64-bit
> and find it almost unusable.
>
> Loading **any** website is slow but it is particularly noticeable with
> Google Maps.  It can take more than a minute to render the initial map
> and then zooming in first shows just a scaled and pixelated version of
> the map and then it can several minutes for the details to be rendered
> properly.  Also, switching from map to Earth/Satellite view seems to
> take forever too.
>
> What could be causing this incredible slowness?  It’s not the network
> itself as the same sites load instantaneously in other browsers like
> Chrome and Firefox on the same machine and there is no proxy involved.
>
> Given that the primary use case I had intended for the Qt browser
> implementation is Google Maps, this is all very worrying!
>
> Thanks,
>
> -jct
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>

Can you run the same test on OSX and or Android?

Just provide a chance to see if 5.5 web is sluggish across more than 
platform.


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Indie Mobil Program terminated?

2015-07-06 Thread rpzrpz...@gmail.com
Thiago:

That would be an interest list courtesy violation to take public 
community issues offline with sales.

Nothing is stopping sales from posting articulate responses on the 
interest list as well as engineering, provided they too are not on vacation.

The BLOG is not carrying enough water here.

md


On 7/6/2015 10:59 AM, Thiago Macieira wrote:
> On Monday 06 July 2015 10:46:58 m...@rpzdesign.com wrote:
>> Dear Qt Interest List:
>>
>> The optics of this reply are really not good.
>>
>> Mission Control, we have a problem.
>
> Right, so you have a problem with sales, but you're asking for replies from
> the director of engineering...
>



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Indie Mobil Program terminated?

2015-07-13 Thread rpzrpz...@gmail.com
That would be absolute insanity to think anything other than a robust 
mobile capability is essential to the future viability of QT.

md

On 7/11/2015 5:00 AM, Nicola De Filippo wrote:
> Hi,
>>
>
> if it’s the status quo, maybe is better that the Qt company leave the mobile 
> market and work only for embedded or desktop market.
> So we old qt developer can see for other tools and the Qt company spend all 
> the energy for other market. I think that here all want the better for Qt, i 
> hope.
>
>   Nicola
>
>>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] SIGBUS Android Qt 5.5.0

2015-07-30 Thread rpzrpz...@gmail.com
Thiago:

You were right.

string.h -> Correct

For SIGBUS exceptions, I had some structure members that did NOT
end on even 4 byte boundaries.

I had to specifically set some memory variables to pass on 4 byte 
alignments.

Don't yet know why the NDK C++ compiler won't align on byte boundaries
automatically.

Thanks,

md

On 7/29/2015 10:58 PM, Thiago Macieira wrote:
> On Wednesday 29 July 2015 21:20:27 mark diener wrote:
>> Hello List:
>>
>> Ran into Android compiler NDK C++/C issue today.
>>
>> NDK r10e-osx
>> SDK Tools 24.3.3 Api 19 (4.4.2)
>>
>> Code runs great on OSX and IOS.
>>
>> But dies with SIGBUS (7) on Android 4.x.
>>
>> And there are issues of implicit declarations of memcpy and memset
>> that
>
> #include 
>
>> Does not matter if Debug (O0) or Release (02)
>>
>> As I begin to deep dive this tomorrow, maybe someone has come across this?
>
> Sorry, there's really not enough information in your description. All I can
> say right now is "there's a bug in your code".
>
>>
>> This has to be a compiler setting issues since armv7 on android fails while
>> armv7/arm64 on IOS 7 ipad mini 1st gen works OK.
>
> Buggy code can work as you'd expect it to, under some circumstances.
>


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Advice for a beginner QT-GL programmer about 3D frameworks for data visualization

2015-08-13 Thread rpzrpz...@gmail.com
Since this is a Qt Interest list, how does cascade help or integrate 
with Qt?

What would be better, Qt With Cascade and/or Qt With Qt3d?

Or is it better to use Cascade without Qt?

md

On 8/13/2015 8:18 AM, Berkay Elbir wrote:
> Hello,
>
> You can consider OpenCascade(OCC) for 3D programming, it has also a
> python wrapper that is an opensource project. I use opencascade with qt
> for a desktop cad/cam application at my job.
> This is a link for python wrapper of OCC :
> https://github.com/tpaviot/pythonocc-core
>
> I do not know much detail about this project but I think you can look
> this as well.
>
> Good luck,
>
> Berkay Elbir
>
>
> On Thu, Aug 13, 2015 at 3:59 PM, Carlos Jordão  > wrote:
>
> Dear list,
>
> I want to start a personal project about Network data visualization
> in 3D, using python. I want to learn more deeply about python and
> some network specifics behaviors (the main thing), putting this in a
> 3D environment - it is a requirement, but I don't want to waste too
> much time on this. The 3D environment would be something restricted,
> like Flyby Camera moving as "Minecraft" in Creative mode, inside a
> finite rectangular box where data is plotted. I intend to put some
> animations, in order to visualize network flows.
>
> However, I've never programmed a 3D application before, and I don't
> know where to start first. I'm considering using python and QT-GL,
> as they seem to be a good fit and flexible. I'm looking for 3D
> frameworks to let me focus on other aspects of this software. VTK
> like seems very good, complete but very specific to data
> visualization, which limits how data is shown and I couldn't figure
> out a way to override this. Others frameworks like vispy or PhiloGL
> are interesting, but I would have some programming to adjust things
> exactly. Game engines don't seem to fit well.
>
> So, I would like to hear a advice from who has experience in 3D
> programming field about useful frameworks to this situation (or
> point out some directions). Books sugestions are welcome. I
> understand that some programming is always necessary, but I prefer
> to avoid getting stuck making workarounds on a 3D framework just to
> get what I want.
>
>
> Thanks
>
> ___
> Interest mailing list
> Interest@qt-project.org 
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>


-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Qt 5.5.x

2015-09-11 Thread rpzrpz...@gmail.com
Does anybody know a way to suppress re-compiling ALL the cpp files 
during each

Many times, I would like files that are already compiled but have code 
that is untouched since the last build to just link again instead of 
recompiling.

I am on OSX Yosemite building for OSX when I am doing development and 
initial testing.

So I make 20 thousand change, rebuild, and re-run to see the result.

But having the project get rebuilt everytime because I can see the 
output from the Compile Output window in Qt Creator and there is a lot 
of unnecessary building.

You would figure the "Build Project xxx" in the menu would do this
and "Rebuild Project xxx" would perform a complete rebuild.

But that is not the case, they both perform a complete recompile on code 
that was not touched.

Any ideas?

md

-- 
No spell checkers were harmed during the creation of this message.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt Quick 2.x Complex ListView

2014-05-21 Thread rpzrpz...@gmail.com
Jason:

I want to take your advice and see if I can apply it.

How would you handle a dynamically changing list linked to an abstract
model.

Yes, I could put a static list in the QML in a scrollview.

But I want the total number or "rows" in the list to be dynamic
and for each row to be able to change its render logic based on changes
in the underlying model.

Maybe you could add some color to your comment to point me
in a direction that uses dynamic and underlying C++ data to generate
the display.

Cheers,

md



On 5/20/2014 8:00 AM, Jason H wrote:
> The quart you have isn't a list of the same things. You have an
> arrangement of different things in a scroll view.
> -- 
> Sent from my Android phone with GMX Mail. Please excuse my brevity.
> 
> "m...@rpzdesign.com"  wrote:
> 
> Hello QTers:
> 
> After pouring through available online documentation, I am at a loss
> for rendering complex Listviews from a C++ based AbstractModel.
> 
> Does anybody have an idea on how to create each row of the listview with
> a delegate that allows for each row to be rendered with separate logic
> instead of the standard delegate which renders each row with the
> same or very similar logic.
> 
> Also, different areas of the row must trigger different onclick events
> using separate mouseareas.
> 
> It looks like C++ QQuickPaintedItem is what I may have to use to get the
> effect, but I would like to stay away from that if possible.
> 
> Any comments or tips would be useful and I am sure more people
> would like this option
> 
> Cheers,
> 
> md
> 
> 
> 
> 
> 
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Google Glass

2014-05-27 Thread rpzrpz...@gmail.com
Has anybody built an Android app on QT 5.3X and run it on Google Glass?

marco

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt-based android app: StartApp's exit banners are not shown

2014-06-02 Thread rpzrpz...@gmail.com
You will likely find in the java code a location where all touch and key
events are forwarded to the native activity.

You cannot then expect for Java callback to execute on key presses, you
must handle the keys/touches inside Qt code.


On 6/2/2014 7:00 PM, Alexander Ivash wrote:
> I'm trying to integrate StartApp's exit banners (startapp.com
> ) into Qt-based android application but I can't get
> them working properly - they are not shown on exiting from application
> using 'back' button (although they work as expected on pressing 'home'
> button). The issue seems to be Qt-specific, because I didn't observe
> such an issue with native android's applications. Integration with
> StartApp sdk is extremely simple: 
> 
> // inside the QtActivity subclass
> @Override
> public void onBackPressed() {
> if(startAppAd != null)
> startAppAd.onBackPressed();
> super.onBackPressed();
> }
>
> ... so it very unlikely I made a mistake (actually I just copy-pasted
> working code from native android app into Qt-based). It seems like Qt
> handles onBackPressed in a bit different way than android. Or QtActivity
> disallows spawning new activities during exit. Or even something more
> strange. Anyway, I would greatly appreciate any ideas on how to proceed
> further with resolving the issue.
> 
> 
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest