×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2012
    Posts
    23

    Adding proejct specific files to the proejct and later find them

    Hi

    SDK: Qt Creator 2.4.1
    Target platfroms: Windows 7, Nokia N9



    Is it possible to add project specific files to a project and later find them easily by a clever Qt C++ call, indepedently of the platform on which the application is deployed ?

    For example:
    I add the file "mydata.xml" to my project (is it important where I add the file in the project structure?)

    Then I access it by somethign like

    QLocalInstallation::Path.GetAbsolutePathTo("myData.xml") ?


    PS
    Is something similar possible in QML, that is, I have a .txt file and set a Text components to the file name,
    a similar call to Qt.resolvedUrl wich is specifically used to find .qml files
    DS


    Regards

  2. #2
    Registered User
    Join Date
    Sep 2012
    Posts
    23

    Re: Adding proejct specific files to the proejct and later find them


Similar Threads

  1. Replies: 2
    Last Post: 2006-11-13, 18:50
  2. how to find a substring from a specific position?
    By daveice in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-08-08, 03:55
  3. Replies: 4
    Last Post: 2004-03-22, 08:50
  4. Find out the specific pixel and change its color?(C++)
    By dreamplayer in forum Symbian C++
    Replies: 5
    Last Post: 2004-03-17, 08:40
  5. Device Specific Capabilities - How to Find?
    By tkinsman in forum General Development Questions
    Replies: 0
    Last Post: 2004-01-21, 20:33

Posting Permissions

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