Discussion:
HTML5/JS SDK Story
Sivan Greenberg
2012-12-19 11:21:44 UTC
Permalink
Hi All,

Seeing we need to somehow support this story in the same ease of use I'd
like to bring this up for discussion.

As I see it we could enable the following:

- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in making
QtCreator an HTML5/JS editing tool if not already applicable as such.

- Support smooth testing and deployment on device through either one or all
of the following:
1. Creator already supports the QtQuick application project, so use this
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer perhaps
(WebKit is great help here).

2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the development work
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.

It should be also possible to base upon the work of the Cordova approach
with Android and come up with a IDE agnostic way for deployment and then
allow both users of creator and other tools to add support for Mer HTML5/JS
app dev and testing.

An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend
runtimes, is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
(recommended
read for anybody who wants to contribute here).

Thoughts and feedback?

-Sivan
--
-Sivan
Sivan Greenberg
2012-12-19 13:25:51 UTC
Permalink
So from quick check, it seems that creator supports all the editing
features including deployment (as expected since html5 apps were also part
of the MeeGo developer story) to Harmattan.

Left to check: if this already supports 'upstream' meego (and hence Mer)
deployments through rpm packaging and see how agnostic the process is to
enable other IDEs that users might fancy using to be supported (like the
Android story).

-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of use I'd
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in making
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one or
1. Creator already supports the QtQuick application project, so use this
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer perhaps
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the development work
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova approach
with Android and come up with a IDE agnostic way for deployment and then
allow both users of creator and other tools to add support for Mer HTML5/JS
app dev and testing.
An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend
runtimes, is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html (recommended
read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
--
-Sivan
--
-Sivan
Simonas Leleiva
2012-12-20 13:28:41 UTC
Permalink
So from quick check, it seems that creator supports all the editing features
including deployment (as expected since html5 apps were also part of the
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence Mer)
deployments through rpm packaging and see how agnostic the process is to
enable other IDEs that users might fancy using to be supported (like the
Android story).
-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of use I'd
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in making
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one or
1. Creator already supports the QtQuick application project, so use this
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer perhaps
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the development work
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova approach
with Android and come up with a IDE agnostic way for deployment and then
allow both users of creator and other tools to add support for Mer HTML5/JS
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5

source: http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html :)
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend runtimes,
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
Sivan Greenberg
2012-12-20 14:14:12 UTC
Permalink
I am aware of that :) I was more trying to create a discussion around the
possible ways of packaging and development cycle for browser based apps.
HTML5/JS support exists in Qt Creator as per my discussions in
#qt-***@freenode from yesterday, but needs testing and surely work to
support on-the-fly packaging and zyppering for Mer.

I think it'd be safe to bet that not many tried deploying HTML5/JS apps to
Harmattan such that could provide good enough testing coverage, but I might
be wrong and the CI system might fill in where human hand is missing.

Has any work done on that already, or what's the status? (opinions and
feedback also welcome)

Cheers,

-Sivan


On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva
Post by Sivan Greenberg
Post by Sivan Greenberg
So from quick check, it seems that creator supports all the editing
features
Post by Sivan Greenberg
including deployment (as expected since html5 apps were also part of the
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence Mer)
deployments through rpm packaging and see how agnostic the process is to
enable other IDEs that users might fancy using to be supported (like the
Android story).
-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of use
I'd
Post by Sivan Greenberg
Post by Sivan Greenberg
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in making
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one or
1. Creator already supports the QtQuick application project, so use this
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer
perhaps
Post by Sivan Greenberg
Post by Sivan Greenberg
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the development
work
Post by Sivan Greenberg
Post by Sivan Greenberg
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova approach
with Android and come up with a IDE agnostic way for deployment and then
allow both users of creator and other tools to add support for Mer
HTML5/JS
Post by Sivan Greenberg
Post by Sivan Greenberg
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5
source: http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html:)
Post by Sivan Greenberg
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend
runtimes,
Post by Sivan Greenberg
Post by Sivan Greenberg
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
Post by Sivan Greenberg
Post by Sivan Greenberg
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
--
-Sivan
Timur Kristóf
2012-12-22 04:01:20 UTC
Permalink
Hey Sivan,

If you can give me any pointers on how this is supposed to work on
Harmattan, I could do the testing and think about how we could add such a
feature to Nemo.

Cheers,
Timur
Post by Sivan Greenberg
I am aware of that :) I was more trying to create a discussion around the
possible ways of packaging and development cycle for browser based apps.
HTML5/JS support exists in Qt Creator as per my discussions in
support on-the-fly packaging and zyppering for Mer.
I think it'd be safe to bet that not many tried deploying HTML5/JS apps to
Harmattan such that could provide good enough testing coverage, but I might
be wrong and the CI system might fill in where human hand is missing.
Has any work done on that already, or what's the status? (opinions and
feedback also welcome)
Cheers,
-Sivan
On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva <
Post by Sivan Greenberg
Post by Sivan Greenberg
So from quick check, it seems that creator supports all the editing
features
Post by Sivan Greenberg
including deployment (as expected since html5 apps were also part of the
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence Mer)
deployments through rpm packaging and see how agnostic the process is to
enable other IDEs that users might fancy using to be supported (like the
Android story).
-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of use
I'd
Post by Sivan Greenberg
Post by Sivan Greenberg
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in making
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one or
1. Creator already supports the QtQuick application project, so use
this
Post by Sivan Greenberg
Post by Sivan Greenberg
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer
perhaps
Post by Sivan Greenberg
Post by Sivan Greenberg
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the development
work
Post by Sivan Greenberg
Post by Sivan Greenberg
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova
approach
Post by Sivan Greenberg
Post by Sivan Greenberg
with Android and come up with a IDE agnostic way for deployment and
then
Post by Sivan Greenberg
Post by Sivan Greenberg
allow both users of creator and other tools to add support for Mer
HTML5/JS
Post by Sivan Greenberg
Post by Sivan Greenberg
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5
source: http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html:)
Post by Sivan Greenberg
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend
runtimes,
Post by Sivan Greenberg
Post by Sivan Greenberg
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
Post by Sivan Greenberg
Post by Sivan Greenberg
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
--
-Sivan
Sivan Greenberg
2012-12-22 11:54:23 UTC
Permalink
Timur! Nice to see you again.

So, basically the Nokia Qt SDK when asked to deploy to harmattan, uses
the template debian packaging it has to create the same Harmattan .deb it
does for Qt{Quick} applications with the difference that the main.cpp is
using a html5applicationviewer to show the application (consisted out of
HTML/JS files) instead of qmlapplicationviewer :

-
http://qt.gitorious.org/qt-creator/aportales-qt-creator/blobs/HEAD/share/qtcreator/templates/html5app/html5applicationviewer/html5applicationviewer.cpp


Exceptedly, the dir struct for html5 app is same minding
html5applicationviewer , and and s/qml/html :

***@future:~/QtSDK/untitled1$ ls -la
total 92
drwxrwxr-x 5 sivan sivan 4096 Dec 22 13:46 .
drwxrwxr-x 17 sivan sivan 4096 Dec 22 13:46 ..
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html5applicationviewer
-rw------- 1 sivan sivan 354 Dec 22 13:46 main.cpp
drwxrwxr-x 3 sivan sivan 4096 Dec 22 13:46 qtc_packaging
-rw------- 1 sivan sivan 3400 Dec 22 13:46 untitled164.png
-rw------- 1 sivan sivan 4945 Dec 22 13:46 untitled180.png
-rw------- 1 sivan sivan 225 Dec 22 13:46 untitled1.desktop
-rw------- 1 sivan sivan 290 Dec 22 13:46 untitled1_harmattan.desktop
-rw------- 1 sivan sivan 1481 Dec 22 13:46 untitled1.pro
-rw------- 1 sivan sivan 36508 Dec 22 13:46 untitled1.pro.user
-rw------- 1 sivan sivan 6503 Dec 22 13:46 untitled1.svg

So if we were to re-use this work in our Mer QtCreator we need just adjust
the packaging to support .rpm or more if Mer has a specific structure it
expects .rpm's to conform (.rpm's are much more loose then .deb's wrt to
policy so our MMV).

But otherwise, since Mer has Qt (and WebKit, AFAIK) that's the only work we
need doing to support that.

Cheers,

-Sivan
Post by Timur Kristóf
Hey Sivan,
If you can give me any pointers on how this is supposed to work on
Harmattan, I could do the testing and think about how we could add such a
feature to Nemo.
Cheers,
Timur
Post by Sivan Greenberg
I am aware of that :) I was more trying to create a discussion around the
possible ways of packaging and development cycle for browser based apps.
HTML5/JS support exists in Qt Creator as per my discussions in
to support on-the-fly packaging and zyppering for Mer.
I think it'd be safe to bet that not many tried deploying HTML5/JS apps
to Harmattan such that could provide good enough testing coverage, but I
might be wrong and the CI system might fill in where human hand is missing.
Has any work done on that already, or what's the status? (opinions and
feedback also welcome)
Cheers,
-Sivan
On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva <
Post by Sivan Greenberg
Post by Sivan Greenberg
So from quick check, it seems that creator supports all the editing
features
Post by Sivan Greenberg
including deployment (as expected since html5 apps were also part of
the
Post by Sivan Greenberg
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence
Mer)
Post by Sivan Greenberg
deployments through rpm packaging and see how agnostic the process is
to
Post by Sivan Greenberg
enable other IDEs that users might fancy using to be supported (like
the
Post by Sivan Greenberg
Android story).
-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of
use I'd
Post by Sivan Greenberg
Post by Sivan Greenberg
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of the
stack here I don't suppose there should be substantial issues in
making
Post by Sivan Greenberg
Post by Sivan Greenberg
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one
or
Post by Sivan Greenberg
Post by Sivan Greenberg
1. Creator already supports the QtQuick application project, so use
this
Post by Sivan Greenberg
Post by Sivan Greenberg
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer
perhaps
Post by Sivan Greenberg
Post by Sivan Greenberg
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to a
device) when hitting 'RUN' , application is serving on the
development work
Post by Sivan Greenberg
Post by Sivan Greenberg
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova
approach
Post by Sivan Greenberg
Post by Sivan Greenberg
with Android and come up with a IDE agnostic way for deployment and
then
Post by Sivan Greenberg
Post by Sivan Greenberg
allow both users of creator and other tools to add support for Mer
HTML5/JS
Post by Sivan Greenberg
Post by Sivan Greenberg
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5
source: http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html:)
Post by Sivan Greenberg
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev days
which we could benefit I think if we use the opportunity to extend
runtimes,
Post by Sivan Greenberg
Post by Sivan Greenberg
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
Post by Sivan Greenberg
Post by Sivan Greenberg
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
--
-Sivan
--
-Sivan
Timur Kristóf
2012-12-22 12:53:52 UTC
Permalink
Hey Sivan,

I don't think I ever used this Html5ApplicationVIewer thing. But I'll look
into it.
Speaking of packaging, does Qt Creator support creating rpms yet? At all?

Cheers,
Timur
Post by Sivan Greenberg
Timur! Nice to see you again.
So, basically the Nokia Qt SDK when asked to deploy to harmattan, uses
the template debian packaging it has to create the same Harmattan .deb it
does for Qt{Quick} applications with the difference that the main.cpp is
using a html5applicationviewer to show the application (consisted out of
-
http://qt.gitorious.org/qt-creator/aportales-qt-creator/blobs/HEAD/share/qtcreator/templates/html5app/html5applicationviewer/html5applicationviewer.cpp
Exceptedly, the dir struct for html5 app is same minding
total 92
drwxrwxr-x 5 sivan sivan 4096 Dec 22 13:46 .
drwxrwxr-x 17 sivan sivan 4096 Dec 22 13:46 ..
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html5applicationviewer
-rw------- 1 sivan sivan 354 Dec 22 13:46 main.cpp
drwxrwxr-x 3 sivan sivan 4096 Dec 22 13:46 qtc_packaging
-rw------- 1 sivan sivan 3400 Dec 22 13:46 untitled164.png
-rw------- 1 sivan sivan 4945 Dec 22 13:46 untitled180.png
-rw------- 1 sivan sivan 225 Dec 22 13:46 untitled1.desktop
-rw------- 1 sivan sivan 290 Dec 22 13:46 untitled1_harmattan.desktop
-rw------- 1 sivan sivan 1481 Dec 22 13:46 untitled1.pro
-rw------- 1 sivan sivan 36508 Dec 22 13:46 untitled1.pro.user
-rw------- 1 sivan sivan 6503 Dec 22 13:46 untitled1.svg
So if we were to re-use this work in our Mer QtCreator we need just adjust
the packaging to support .rpm or more if Mer has a specific structure it
expects .rpm's to conform (.rpm's are much more loose then .deb's wrt to
policy so our MMV).
But otherwise, since Mer has Qt (and WebKit, AFAIK) that's the only work
we need doing to support that.
Cheers,
-Sivan
Post by Timur Kristóf
Hey Sivan,
If you can give me any pointers on how this is supposed to work on
Harmattan, I could do the testing and think about how we could add such a
feature to Nemo.
Cheers,
Timur
Post by Sivan Greenberg
I am aware of that :) I was more trying to create a discussion around
the possible ways of packaging and development cycle for browser based
apps. HTML5/JS support exists in Qt Creator as per my discussions in
to support on-the-fly packaging and zyppering for Mer.
I think it'd be safe to bet that not many tried deploying HTML5/JS apps
to Harmattan such that could provide good enough testing coverage, but I
might be wrong and the CI system might fill in where human hand is missing.
Has any work done on that already, or what's the status? (opinions and
feedback also welcome)
Cheers,
-Sivan
On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva <
Post by Sivan Greenberg
Post by Sivan Greenberg
So from quick check, it seems that creator supports all the editing
features
Post by Sivan Greenberg
including deployment (as expected since html5 apps were also part of
the
Post by Sivan Greenberg
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence
Mer)
Post by Sivan Greenberg
deployments through rpm packaging and see how agnostic the process is
to
Post by Sivan Greenberg
enable other IDEs that users might fancy using to be supported (like
the
Post by Sivan Greenberg
Android story).
-Sivan
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of
use I'd
Post by Sivan Greenberg
Post by Sivan Greenberg
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of
the
Post by Sivan Greenberg
Post by Sivan Greenberg
stack here I don't suppose there should be substantial issues in
making
Post by Sivan Greenberg
Post by Sivan Greenberg
QtCreator an HTML5/JS editing tool if not already applicable as such.
- Support smooth testing and deployment on device through either one
or
Post by Sivan Greenberg
Post by Sivan Greenberg
1. Creator already supports the QtQuick application project, so use
this
Post by Sivan Greenberg
Post by Sivan Greenberg
work and change it to be a HTML5/JS Application very much in the same
manner, replacing QmlApplicationViewer with HTMLApplicationViewer
perhaps
Post by Sivan Greenberg
Post by Sivan Greenberg
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy to
a
Post by Sivan Greenberg
Post by Sivan Greenberg
device) when hitting 'RUN' , application is serving on the
development work
Post by Sivan Greenberg
Post by Sivan Greenberg
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova
approach
Post by Sivan Greenberg
Post by Sivan Greenberg
with Android and come up with a IDE agnostic way for deployment and
then
Post by Sivan Greenberg
Post by Sivan Greenberg
allow both users of creator and other tools to add support for Mer
HTML5/JS
Post by Sivan Greenberg
Post by Sivan Greenberg
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5
http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html :)
Post by Sivan Greenberg
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev
days
Post by Sivan Greenberg
Post by Sivan Greenberg
which we could benefit I think if we use the opportunity to extend
runtimes,
Post by Sivan Greenberg
Post by Sivan Greenberg
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
Post by Sivan Greenberg
Post by Sivan Greenberg
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
--
-Sivan
--
-Sivan
Sivan Greenberg
2012-12-22 12:58:35 UTC
Permalink
So it used to support it with the MeeGo SDK (because there you could deploy
to MeeGo based tablets ) so I'm sure the code is there somewhere, just
needs some integration.

-Sivan
Post by Timur Kristóf
Hey Sivan,
I don't think I ever used this Html5ApplicationVIewer thing. But I'll look
into it.
Speaking of packaging, does Qt Creator support creating rpms yet? At all?
Cheers,
Timur
Post by Sivan Greenberg
Timur! Nice to see you again.
So, basically the Nokia Qt SDK when asked to deploy to harmattan, uses
the template debian packaging it has to create the same Harmattan .deb it
does for Qt{Quick} applications with the difference that the main.cpp is
using a html5applicationviewer to show the application (consisted out of
-
http://qt.gitorious.org/qt-creator/aportales-qt-creator/blobs/HEAD/share/qtcreator/templates/html5app/html5applicationviewer/html5applicationviewer.cpp
Exceptedly, the dir struct for html5 app is same minding
total 92
drwxrwxr-x 5 sivan sivan 4096 Dec 22 13:46 .
drwxrwxr-x 17 sivan sivan 4096 Dec 22 13:46 ..
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html
drwxrwxr-x 2 sivan sivan 4096 Dec 22 13:46 html5applicationviewer
-rw------- 1 sivan sivan 354 Dec 22 13:46 main.cpp
drwxrwxr-x 3 sivan sivan 4096 Dec 22 13:46 qtc_packaging
-rw------- 1 sivan sivan 3400 Dec 22 13:46 untitled164.png
-rw------- 1 sivan sivan 4945 Dec 22 13:46 untitled180.png
-rw------- 1 sivan sivan 225 Dec 22 13:46 untitled1.desktop
-rw------- 1 sivan sivan 290 Dec 22 13:46 untitled1_harmattan.desktop
-rw------- 1 sivan sivan 1481 Dec 22 13:46 untitled1.pro
-rw------- 1 sivan sivan 36508 Dec 22 13:46 untitled1.pro.user
-rw------- 1 sivan sivan 6503 Dec 22 13:46 untitled1.svg
So if we were to re-use this work in our Mer QtCreator we need just
adjust the packaging to support .rpm or more if Mer has a specific
structure it expects .rpm's to conform (.rpm's are much more loose then
.deb's wrt to policy so our MMV).
But otherwise, since Mer has Qt (and WebKit, AFAIK) that's the only work
we need doing to support that.
Cheers,
-Sivan
Post by Timur Kristóf
Hey Sivan,
If you can give me any pointers on how this is supposed to work on
Harmattan, I could do the testing and think about how we could add such a
feature to Nemo.
Cheers,
Timur
Post by Sivan Greenberg
I am aware of that :) I was more trying to create a discussion around
the possible ways of packaging and development cycle for browser based
apps. HTML5/JS support exists in Qt Creator as per my discussions in
to support on-the-fly packaging and zyppering for Mer.
I think it'd be safe to bet that not many tried deploying HTML5/JS apps
to Harmattan such that could provide good enough testing coverage, but I
might be wrong and the CI system might fill in where human hand is missing.
Has any work done on that already, or what's the status? (opinions and
feedback also welcome)
Cheers,
-Sivan
On Thu, Dec 20, 2012 at 3:28 PM, Simonas Leleiva <
Post by Sivan Greenberg
Post by Sivan Greenberg
So from quick check, it seems that creator supports all the editing
features
Post by Sivan Greenberg
including deployment (as expected since html5 apps were also part of
the
Post by Sivan Greenberg
MeeGo developer story) to Harmattan.
Left to check: if this already supports 'upstream' meego (and hence
Mer)
Post by Sivan Greenberg
deployments through rpm packaging and see how agnostic the process
is to
Post by Sivan Greenberg
enable other IDEs that users might fancy using to be supported (like
the
Post by Sivan Greenberg
Android story).
-Sivan
On Wed, Dec 19, 2012 at 1:21 PM, Sivan Greenberg <
Post by Sivan Greenberg
Hi All,
Seeing we need to somehow support this story in the same ease of
use I'd
Post by Sivan Greenberg
Post by Sivan Greenberg
like to bring this up for discussion.
- Use QtCreator for HTML5/JS developer; Since WebKit/V8 is part of
the
Post by Sivan Greenberg
Post by Sivan Greenberg
stack here I don't suppose there should be substantial issues in
making
Post by Sivan Greenberg
Post by Sivan Greenberg
QtCreator an HTML5/JS editing tool if not already applicable as
such.
Post by Sivan Greenberg
Post by Sivan Greenberg
- Support smooth testing and deployment on device through either
one or
Post by Sivan Greenberg
Post by Sivan Greenberg
1. Creator already supports the QtQuick application project, so use
this
Post by Sivan Greenberg
Post by Sivan Greenberg
work and change it to be a HTML5/JS Application very much in the
same
Post by Sivan Greenberg
Post by Sivan Greenberg
manner, replacing QmlApplicationViewer with HTMLApplicationViewer
perhaps
Post by Sivan Greenberg
Post by Sivan Greenberg
(WebKit is great help here).
2. Incorporate a lightweight http server, and through the setup of
developer's Local LAN (same way like setting up Creator to deploy
to a
Post by Sivan Greenberg
Post by Sivan Greenberg
device) when hitting 'RUN' , application is serving on the
development work
Post by Sivan Greenberg
Post by Sivan Greenberg
station and a remote SSH call fire up the browser on the Mer device,
pointing it to the right URL to view the HTML app for testing.
It should be also possible to base upon the work of the Cordova
approach
Post by Sivan Greenberg
Post by Sivan Greenberg
with Android and come up with a IDE agnostic way for deployment and
then
Post by Sivan Greenberg
Post by Sivan Greenberg
allow both users of creator and other tools to add support for Mer
HTML5/JS
Post by Sivan Greenberg
Post by Sivan Greenberg
app dev and testing.
http://wiki.qt-project.org/PhoneGap_for_Qt_5
http://www.merproject.org/logs/%23mer/%23mer.2012-04-25.log.html :)
Post by Sivan Greenberg
Post by Sivan Greenberg
An interesting discussion got started after the San Francisco dev
days
Post by Sivan Greenberg
Post by Sivan Greenberg
which we could benefit I think if we use the opportunity to extend
runtimes,
Post by Sivan Greenberg
Post by Sivan Greenberg
is here
http://lists.qt-project.org/pipermail/development/2012-December/008425.html
Post by Sivan Greenberg
Post by Sivan Greenberg
(recommended read for anybody who wants to contribute here).
Thoughts and feedback?
-Sivan
-Sivan
Cheers,
Simonas
--
-Sivan
--
-Sivan
--
-Sivan
Raju Bitter
2012-12-22 23:39:46 UTC
Permalink
That sounds like the Html5ApplicationVIewer component is the correponding
item to the UIWebView component in iOS and Webview in Android, which is
used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html

@Timur: This code should give you an idea how a Html5ApplicationViewer can
be used:
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp

How does the Html5ApplicationVIewer handle threading? And has anyone been
working on PhoneGap / Apache Cordova compatibility for Mer in 2012?

- Raju
Sivan Greenberg
2012-12-22 23:52:19 UTC
Permalink
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone been
working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?

-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the correponding
item to the UIWebView component in iOS and Webview in Android, which is
used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer can
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone been
working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Jukka Eklund
2012-12-23 09:22:12 UTC
Permalink
Hi,

just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!

-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Timur Kristóf
2012-12-23 13:13:04 UTC
Permalink
Hi Jukka,

What is cordova-qt?
Post by Jukka Eklund
Hi,
just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!
-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Sivan Green
2012-12-23 13:53:42 UTC
Permalink
As far as I know Cordova qt is phone gap where platform specific stuff is
delegated through Qt (mobility) . It does not imply Creator support.

-Sivan
Post by Timur Kristóf
Hi Jukka,
What is cordova-qt?
Post by Jukka Eklund
Hi,
just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!
-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Jukka Eklund
2012-12-23 14:04:17 UTC
Permalink
Right, just saying it is there in Nemo (and working for most parts) now so
hope it helps :)

-Jukka
Post by Sivan Green
As far as I know Cordova qt is phone gap where platform specific stuff is
delegated through Qt (mobility) . It does not imply Creator support.
-Sivan
Post by Timur Kristóf
Hi Jukka,
What is cordova-qt?
Post by Jukka Eklund
Hi,
just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!
-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Sivan Green
2012-12-23 14:23:11 UTC
Permalink
It does Jukka; -) we just need make Sure pkg deploy does as well and I'm is
no work if we base off meego sdk.
Post by Jukka Eklund
Right, just saying it is there in Nemo (and working for most parts) now so
hope it helps :)
-Jukka
Post by Sivan Green
As far as I know Cordova qt is phone gap where platform specific stuff is
delegated through Qt (mobility) . It does not imply Creator support.
-Sivan
Post by Timur Kristóf
Hi Jukka,
What is cordova-qt?
Post by Jukka Eklund
Hi,
just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!
-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Jukka Eklund
2012-12-23 13:45:46 UTC
Permalink
PhoneGap, mentioned above :)

http://incubator.apache.org/projects/callback.html

-Jukka
Post by Timur Kristóf
Hi Jukka,
What is cordova-qt?
Post by Jukka Eklund
Hi,
just making sure you know, cordova-qt is in Nemo just do 'zypper in
incubator-cordova-qt'. Would be cool to have some good test apps to go with
that!
-Jukka
Post by Sivan Greenberg
Post by Raju Bitter
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
I'd say it offers what ever V8 underneath offers in terms of multi
execution javascript codes, but perhaps you're referring to something else?
-Sivan
Post by Raju Bitter
That sounds like the Html5ApplicationVIewer component is the
correponding item to the UIWebView component in iOS and Webview in
Android, which is used by PhoneGap.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
http://developer.android.com/reference/android/webkit/WebView.html
@Timur: This code should give you an idea how a Html5ApplicationViewer
https://github.com/vinisketch/phonegap-qt/blob/master/PhoneGapApp/html5applicationviewer/html5applicationviewer.cpp
How does the Html5ApplicationVIewer handle threading? And has anyone
been working on PhoneGap / Apache Cordova compatibility for Mer in 2012?
- Raju
--
-Sivan
Loading...