QML and webassembly - qml

I have a python-qml app and I uploaded qml files in https://qt-webassembly.io/designviewer/.
The app works, how can I get the webassembly code to put it in my site-app?
Update:
In MaintenanceTool I see this:
In QCreator (with c++ project and qml)

It looks like that site compiles and runs QML in the browser directly. Meaning it doesn't support what you want to use it for.
Seems like you'd have better luck using the Qt Creator IDE targeting Web Assembly.
https://doc.qt.io/qtcreator/creator-setup-webassembly.html

Related

How to get information about runtime .Net Core

I have an app which works on Linux and Windows. I need to know where the app is working for use difference code. Thanks
You are probably looking for System.Runtime.InteropServices.RuntimeInformation with the IsOsPlatform function to do runtime checks.
Have look at the video tutorial https://channel9.msdn.com/Series/aspnetmonsters/ASPNET-Monsters-Episode-46-Finding-Platform-Information of the ASP.NET Monsters.

How do I compile coffeescript (or run node tasks) from Objective C

I want to compile coffeescript from my Mac OSX app, but I'm unsure how to go about doing this. It seems like node tasks are heavily dependent on other libraries installed to the system. How can I go about compiling coffeescript files from my app?
A couple ideas:
The 'Try Coffeescript' section on coffeescript.org compiles in the browser by including the coffeescript compiler as a javascript tag. You could do something like that in a UIKit WebView where you have control over the javascript execution.
PhoneGap/Codova based app
Make a request out to a node server or other js environment and return the compiled code via service call.
I'm not sure you've provided enough context for which one of these might work, but they are the first things that come to mind.

How I can integrate browser engine to my MASM app?

I'm developing an app on MASM using the RadASM IDE. This IDE comes with an IE control (WebBrowser) but the content that I want to display is broken on that browser (XHTML+CSS), also I want to remove the dependency of an external IE dll so the only solution that comes to my mind is use an engine of other browser like Firefox or Chrome.
I've searched over the net and I found some DevKits that meets my requeriments, but they are designed to work with VS2005+ or they just are coded on C++.
If someone know a way to integrate a browser engine (Not IE) to a MASM app, will be highly appretiated.
I doubt you will find any browser SDK that specifically helps you call it from assembly language. Almost nobody actually writes applications in assembly language today. However, C is pretty close to assembly, so all you have to do is use the instructions for C and translate to assembly language. Since you're already writing an application in assembly language, that should be no trouble for you.
You can use any SDK that comes with pre-compiled binaries using the WinAPI functions LoadLibraryA and GetProcAddress. Or you can build your own import libraries for MASM by following what either Iczelion did write on that topic (definately worth a read) or by reading the 3 part guide on my website, which is based on Iczelions guide but works on a live example, namely creating your own MASM import library for the FMOD API.
Weather it is worth all the hassle is another question.

a couple questions about the titanium platform

I have recently been browsing frameworks such as JavaScriptMVC, qooxdoo, Sproutcore and others alike which are using javascript to create desktop-like apps in the browser with minimal, or none css/html (depending on the framework).
What I know of titanium is that it uses html/css for the views, and language of choice (javascript, ruby,python,php) for everything else. Then it gets compiled(?) into a native app.
What are the quirks? if any?
Is it necessary for the user to install some sort of a runtime to execute the compiled app?
I suppose javascript is the prefered language, but how are the other ones handled?
For example, which Ruby interpreter would be included, would I be albe to use the ruby stdlib or external libraries? Would it affect the speed of the app? I.e JS > Ruby in terms of speed.
Since the views are CSS/HTML, would it still be necessary to style the elements, add them effects via JS librarier to achieve a widget-like feeling? Or does it come with some pre-made settings/classes for that?
I am not sure if it applies to the desktop package, but is there some syncing with the appcelerator's server required? What would it be necessary for?
I am sorry if the questions sound stupid, but I didn't even realise there are than many tools until recent. I am ultimately looking for something which is easy to use, has an option to work with a back-end server for data exchange, looks preferably good 'out of the box' or doesnt require that much work to get it themed nicely and works on mobile as well as desktop devices.
With Titanium you build your app out using javascript. Titanium ultimately generates its own XCode project for you that is compiled and deployed to a device.
The user does not require any runtime be installed prior to installing your app.
Unless your building custom modules to hook up your own controls you stick with javascript.
Your javascript calls end up as native controls, early versions required css like styling due to reliance on webkit but this is no longer the case.
There is no IDE but it does come with an app to create Titanium projects, test in emulator, deploy etc. It also talks back to HQ for updates.
In answer to (2), Titanium Mobile is Javascript only, but Desktop also supports Python, Perl and PHP.

Why doesn't code insight in PHPEd work with the Zend Framework?

I am currently working with the Zend Framework and I use PHPEd as my favourite PHP editor. I have already seen that the IDE can trace my own functions and libraries and display them in the code insight. How can I add the libraries of Zend Framework to the code insight?
They are loaded with a internal autoload function of the Zend Framework, so PHPEd can't find the points where they are included and doesn't show them in the list of functions.
Is there a possibility to tell PHPEd always to show the Zend Framework functions and classes in the code insight?
Okay, after reinstalling NuSphere a third time it finally works. I have no clue why...
It worked fine for me in PhpED when I tried ZF code, from the beginning.
To have any 3rd party code appeared in Code Insight, you need to either include corresponding directory into the project list of additional directories or just place the directory with code as a project subdirectory. Then open Code Explorer and check for the framework classes. If they don't appear (for any reason) for longer than 5-6sec, just press refresh in the popup.
They (NuSphere) just released PhpED V11.0 which has full support for ZF etc. - http://www.nusphere.com/products/php_frameworks.htm