×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    8

    Include whole htdocs-folder in QML project

    Hi,
    I'm sorry if this is the wrong forum for what might be a generic Qt question, but as I develop specifically for the Nokia N9 (at least initially) I put it here anyway.

    I have a mobile web page which I want to use basically straight off as the base for a N9 Qt app where I can add NFC and camera support. You can see it here:
    http://m.ica2go.se/

    As I have learned from http://www.developer.nokia.com/Commu...l=1#post880495 I can't use a HTML5 project straight off due to needing to have it in portrait mode, so now I instead use a basic QML project. However, I want to keep the folder (even in subversion) for the mobile web setup intact when including it in the Qt project, but I want to run it locally on the N9 instead of from the server (as the url above). How do I include it in the project so that it's packaged together with the rest of the files?

    So the structure is that I have a folder htdocs where I have the index.html file as well as the js, images and css directories:
    htdocs (with index.html)
    htdocs/css
    htdocs/js
    htdocs/images

    then at the same level as htdocs I have a folder NokiaN9.

    As I am a beginner in Qt I also welcome other feedback on what to think about when doing this.

    Thanks in advance,
    Per

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Include whole htdocs-folder in QML project

    Hi,
    If you use a QML-based app or a C++ one, from the packaging point of view there are no differences at all.
    WebView supports local files. So no problem there too.

Similar Threads

  1. Where is epoc32/include/http folder?
    By JOM in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2011-11-11, 12:22
  2. How to include /res folder in the package
    By burinutit in forum Mobile Java General
    Replies: 2
    Last Post: 2009-11-24, 09:03
  3. Include already existence project
    By Sara Ali in forum Symbian
    Replies: 3
    Last Post: 2009-06-21, 10:36
  4. creation of a folder to include lib files
    By symashi in forum Symbian
    Replies: 0
    Last Post: 2005-05-13, 07:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×