Qt5

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Qt5

buttim
I suspect this is a well known story, so bear with me since my Google search (patience?) did not come up with a definitive answer.

Seems like Openscad is using the old Qt4 version instead of Qt5. I would like tu understand if it's feasible to switch to Qt5 or not.

My personal concern is that some keyboard shortcuts are broken with non US keyboard layouts, at least under Windows. For example you can't use Ctrl+] and [ for zoomin. Same for the (hopefully) upcoming shortcuts Ctrl+* and Ctrl+Shift+*. This might be something that does not affect Qt5 from some discussions I found around.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

tp3
> Seems like Openscad is using the old Qt4 version instead of Qt5.
> I would like tu understand if it's feasible to switch to Qt5 or
> not.
>
OpenSCAD supports both for quite some time.

I guess the question is if it's ok to drop Qt4. Officially it's
dead since beginning of this year I think.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

doug.moen
In reply to this post by buttim
OpenSCAD uses Qt5 on all platforms, if you have a recent build.

On 28 June 2016 at 09:10, buttim <[hidden email]> wrote:
I suspect this is a well known story, so bear with me since my Google search
(patience?) did not come up with a definitive answer.

Seems like Openscad is using the old Qt4 version instead of Qt5. I would
like tu understand if it's feasible to switch to Qt5 or not.

My personal concern is that some keyboard shortcuts are broken with non US
keyboard layouts, at least under Windows. For example you can't use Ctrl+]
and [ for zoomin. Same for the (hopefully) upcoming shortcuts Ctrl+* and
Ctrl+Shift+*. This might be something that does not affect Qt5 from some
discussions I found around.



--
View this message in context: http://forum.openscad.org/Qt5-tp17818.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

buttim
Still the Windows cross compilation brings in Qt4. Or am I wrong?
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

doug.moen
I'm running a Windows developer snapshot from the downloads page, and the library info says Qt5.

The last time I looked at the build scripts, they were searching for either Qt5 or Qt4, and using whatever was installed, with a preference for Qt5, but I don't know how the Windows build works. If you are doing your own build, maybe the build script can't find your Qt5 installation?

On 28 June 2016 at 10:17, buttim <[hidden email]> wrote:
Still the Windows cross compilation brings in Qt4. Or am I wrong?



--
View this message in context: http://forum.openscad.org/Qt5-tp17818p17821.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

buttim
I just discovered that for the Win building scripts the default is Qt4, but you can specify Qt5. I'll have a try at it later

On Tue, Jun 28, 2016 at 4:55 PM, doug.moen [via OpenSCAD] <[hidden email]> wrote:
I'm running a Windows developer snapshot from the downloads page, and the library info says Qt5.

The last time I looked at the build scripts, they were searching for either Qt5 or Qt4, and using whatever was installed, with a preference for Qt5, but I don't know how the Windows build works. If you are doing your own build, maybe the build script can't find your Qt5 installation?

On 28 June 2016 at 10:17, buttim <[hidden email]> wrote:
Still the Windows cross compilation brings in Qt4. Or am I wrong?



--
View this message in context: http://forum.openscad.org/Qt5-tp17818p17821.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



If you reply to this email, your message will be added to the discussion below:
http://forum.openscad.org/Qt5-tp17818p17822.html
To unsubscribe from Qt5, click here.
NAML

rew
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

rew
In reply to this post by doug.moen
On Tue, Jun 28, 2016 at 09:46:14AM -0400, doug moen wrote:

> OpenSCAD uses Qt5 on all platforms, if you have a recent build.
>
> On 28 June 2016 at 09:10, buttim <[hidden email]> wrote:
>
> > I suspect this is a well known story, so bear with me since my Google
> > search
> > (patience?) did not come up with a definitive answer.
> >
> > Seems like Openscad is using the old Qt4 version instead of Qt5. I would
> > like tu understand if it's feasible to switch to Qt5 or not.

No. this is not feasible. QT5 makes openScad unbearably slow when the
model becomes a bit complicated. This bug needs to be fixed first
before we can switch to QT5....

... Oh.... :-)

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

nophead
The Windows version I am running claims to be using Qt version: 5.4.1 and it isn't slow on large models.

On 29 June 2016 at 09:51, Rogier Wolff <[hidden email]> wrote:
On Tue, Jun 28, 2016 at 09:46:14AM -0400, doug moen wrote:
> OpenSCAD uses Qt5 on all platforms, if you have a recent build.
>
> On 28 June 2016 at 09:10, buttim <[hidden email]> wrote:
>
> > I suspect this is a well known story, so bear with me since my Google
> > search
> > (patience?) did not come up with a definitive answer.
> >
> > Seems like Openscad is using the old Qt4 version instead of Qt5. I would
> > like tu understand if it's feasible to switch to Qt5 or not.

No. this is not feasible. QT5 makes openScad unbearably slow when the
model becomes a bit complicated. This bug needs to be fixed first
before we can switch to QT5....

... Oh.... :-)

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** <a href="tel:%2B31-15-2600998" value="+31152600998">+31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

buttim
Same for me, Qt5 reported in Library Info. The comments in the scripts seem unreliable. I'll have to look for a different solution to my problem. Stupid me I didn't check it before

On Wed, Jun 29, 2016 at 11:03 AM, nophead [via OpenSCAD] <[hidden email]> wrote:
The Windows version I am running claims to be using Qt version: 5.4.1 and it isn't slow on large models.

On 29 June 2016 at 09:51, Rogier Wolff <[hidden email]> wrote:
On Tue, Jun 28, 2016 at 09:46:14AM -0400, doug moen wrote:
> OpenSCAD uses Qt5 on all platforms, if you have a recent build.
>
> On 28 June 2016 at 09:10, buttim <[hidden email]> wrote:
>
> > I suspect this is a well known story, so bear with me since my Google
> > search
> > (patience?) did not come up with a definitive answer.
> >
> > Seems like Openscad is using the old Qt4 version instead of Qt5. I would
> > like tu understand if it's feasible to switch to Qt5 or not.

No. this is not feasible. QT5 makes openScad unbearably slow when the
model becomes a bit complicated. This bug needs to be fixed first
before we can switch to QT5....

... Oh.... :-)

        Roger.

--
** [hidden email] ** http://www.BitWizard.nl/ ** <a href="tel:%2B31-15-2600998" value="<a href="tel:%2B31152600998" value="+31152600998" target="_blank">+31152600998"><a href="tel:%2B31-15-2600998" value="+31152600998" target="_blank">+31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



If you reply to this email, your message will be added to the discussion below:
http://forum.openscad.org/Qt5-tp17818p17827.html
To unsubscribe from Qt5, click here.
NAML

tp3
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

tp3
In reply to this post by rew
Von: "Rogier Wolff" <[hidden email]>
> No. this is not feasible. QT5 makes openScad unbearably slow when the
> model becomes a bit complicated. This bug needs to be fixed first
> before we can switch to QT5....
>
Can you clearify what you mean by that? What OS are you talking about?

The only issue (as far as I know), that had anything to do with
Qt4 vs. Qt5 is about the QGLWidget on Linux. This is fixed quite
some time ago by switching to the new QOpenGLWidget provided in
Qt5.
AFAICS that fix is also backported to the Debian version in
release openscad-2015.03-2+dfsg-1. I don't know how other
distributions handle things.

So there is nothing to fix at this time for any of the 3 supported
platforms.

There is still a general issue with big models as the OpenGL code
is mostly using the old fixed OpenGL pipeline which is slow, does
not use GPU accelleration and can cause high CPU load for models
with lots of vertices.

That's not a "fix" though, but a serious project to get the code
updated to use more modern features provided by modrern GPUs/drivers.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

buttim
My interest is on the Windows platform. I'm cross compiling on Ubuntu 16.04.
The problem regards keyboard shortcuts in the windows environment.
All the shortcuts requiring the user to press the AltGr modifier do not work. In the current version of OpenSCAD there are two of them if you are using an italian keyboard: zoom in and zoom out. I suspect many other keyboard layout do have the same problem

On Wed, Jun 29, 2016 at 11:50 AM, tp3 [via OpenSCAD] <[hidden email]> wrote:
Von: "Rogier Wolff" <[hidden email]>
> No. this is not feasible. QT5 makes openScad unbearably slow when the
> model becomes a bit complicated. This bug needs to be fixed first
> before we can switch to QT5....
>
Can you clearify what you mean by that? What OS are you talking about?

The only issue (as far as I know), that had anything to do with
Qt4 vs. Qt5 is about the QGLWidget on Linux. This is fixed quite
some time ago by switching to the new QOpenGLWidget provided in
Qt5.
AFAICS that fix is also backported to the Debian version in
release openscad-2015.03-2+dfsg-1. I don't know how other
distributions handle things.

So there is nothing to fix at this time for any of the 3 supported
platforms.

There is still a general issue with big models as the OpenGL code
is mostly using the old fixed OpenGL pipeline which is slow, does
not use GPU accelleration and can cause high CPU load for models
with lots of vertices.

That's not a "fix" though, but a serious project to get the code
updated to use more modern features provided by modrern GPUs/drivers.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten



If you reply to this email, your message will be added to the discussion below:
http://forum.openscad.org/Qt5-tp17818p17829.html
To unsubscribe from Qt5, click here.
NAML

tp3
Reply | Threaded
Open this post in threaded view
|

Re: Qt5

tp3
Von: buttim <[hidden email]>
> All the shortcuts requiring the user to press the AltGr
> modifier do not work. In the current version of OpenSCAD
> there are two of them if you are using an italian
> keyboard: zoom in and zoom out. I suspect many other
> keyboard layout do have the same problem
>
Yes, that seems to be tricky in some combinations. The
issue sounds like a variation of that one:

  https://github.com/openscad/openscad/issues/872

This might make it pretty much impossible to use the
AltGr modifier for anything unless it's actually
user configurable. Unfortunately I have not seen any
re-usable component or library to that yet, so we may
have to implement that ourselves eventually.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten