News for hackers. Stuff that matters.
Re:Web Based Qt Design Viewer by onion2k on Thursday October 24, 2019 @10:20AM (#21344910)
The output reminds me of Flash. That's not necessarily a bad thing considering how good Flash was at some things (especially without the security holes) but still, it feels wrong.
Re:Web Based Qt Design Viewer by Asooka on Thursday October 24, 2019 @10:40AM (#21345111)
Tried the first demo. Couldn't select text. Couldn't right-click. Scrolling didn't work.

I predict this will be what news sites are built on a few years from now in order to "protect" their content.

Re:Web Based Qt Design Viewer by gpderetta on Thursday October 24, 2019 @01:03PM (#21346604)
The technology itself is amazing, and as long as it was used for replacement for desktop and mobile ask it would be great, but I have the same fear that it might replace proper web sites.

Hopefully the need to be discoverable by search engines will mean that most sites will still use the dom, but at some point Google might provide a proprietary crawling interface...

Re:Web Based Qt Design Viewer by dyarosla on Thursday October 24, 2019 @11:53AM (#21345858)
I don't believe it's meant to be a replacement for interactive web pages but as a browser-based viewer for QT's file format. With that in mind, your qualms aren't quite applicable here.
Re:Web Based Qt Design Viewer by de_watcher on Friday October 25, 2019 @03:13AM (#21352638)
Select? Right-click?

It's not enabled in the properties of the elements by default, so it's not selectable by default because it's a GUI, not a web document. Web developers have forgotten what an app is while trying to write apps by using tools meant for Web documents.

There was a TextEdit example where you select text.

Re:Web Based Qt Design Viewer by shaan7 on Thursday October 24, 2019 @02:06PM (#21347365)
Well there is this in the post-

"Please try out the Qt Design Viewer, but keep in mind that this is a technical preview. Bugs and issues can be reported here. The viewer application is fully open source."

So bugs are expected.

Re:Web Based Qt Design Viewer by tenaciousDaniel on Thursday October 24, 2019 @10:27AM (#21344961)
The difference is that this is native. Super exciting.
Re:Web Based Qt Design Viewer by onion2k on Thursday October 24, 2019 @10:39AM (#21345101)
If I make a form in QT and compile it to Webassembly with this tool, will I get native Windows form elements on Windows and native OSX form elements on OSX? Or will I get the browser form elements? Or QT form inputs regardless of the OS I'm viewing it with?

Looking at the sliders in the sidemenu example (http://qt-webassembly.io/designviewer/#SideMenu.qmlrc), they look like QT sliders rather than anything OS or browser native.

Re:Web Based Qt Design Viewer by tenaciousDaniel on Thursday October 24, 2019 @10:55AM (#21345259)
Sorry, I meant native to the browser. Flash had to be installed on your machine, but WASM is built into browsers and exists as a web standard.
Re:Web Based Qt Design Viewer by wwright on Thursday October 24, 2019 @07:23PM (#21350198)
Even though the core runtime is a web standard, I would say this performs worse in every other way. The entire rendering stack has to run in a VM.
Re:Web Based Qt Design Viewer by onion2k on Thursday October 24, 2019 @11:28AM (#21345601)
Yeah, that makes more sense.
Re:Web Based Qt Design Viewer by malkia on Thursday October 24, 2019 @10:56PM (#21351420)
It's funny what 'native' is nowadays - it's relatively... 'native' - e.g. flash was really 'native', as in no wasm/jits whatever.
Re:Web Based Qt Design Viewer by smacktoward on Thursday October 24, 2019 @01:16PM (#21346782)
But is it funky, dirty native? https://www.youtube.com/watch?v=9mXe9nRiPHI