Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Hide source of HTML5 applications?
Forum Updated to NodeBB v4.3 + New Features

Hide source of HTML5 applications?

Scheduled Pinned Locked Moved Qt WebKit
3 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    almig
    wrote on last edited by
    #1

    Hi, I just tried compiled the basic HTML5 application to try it out, but on Mac I can just click 'Show Package Contents' to get the HTML source code. As I want to develop a closed source application, is it possible to hide the source code in a way or should I just suck it up and learn C++?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      There is no way to 'hide' your code in a way that it cannot be restored, because it needs to be present in a readable way to be interpreted by the HTML rendering engine.

      You can, however, complicate the extraction process by using a "resource":http://doc.qt.digia.com/qt/resources.html or encyrption. But this is just a barrier, and by no means a protection.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        almig
        wrote on last edited by
        #3

        [quote author="Lukas Geyer" date="1358330592"]There is no way to 'hide' your code in a way that it cannot be restored, because it needs to be present in a readable way to be interpreted by the HTML rendering engine.

        You can, however, complicate the extraction process by using a "resource":http://doc.qt.digia.com/qt/resources.html or encyrption. But this is just a barrier, and by no means a protection.[/quote]

        That's what I thought, thanks. I'm going to create the interface in HTML, but load the content with C++.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved