Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Environment variables, search paths, and not finding stuff
Forum Updated to NodeBB v4.3 + New Features

Environment variables, search paths, and not finding stuff

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 675 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.
  • X Offline
    X Offline
    Xooch
    wrote on last edited by
    #1

    I've finally been able to build Qt 5.2.1 for my embedded ARM Linux target, and I'm able to run some of the example programs on it. However, there seems to be a misconfiguration of my environment since things can't be found automatically. By things, I mean:

    • I have to set the QT_PLUGIN_PATH environment variable for anything to run.
    • I have to run Quick executables from my /qml directory for them to be able to find extensions. QML_IMPORT_PATH variable doesn't seem to make any difference.
    • Apparently fonts can't be found even though they're in /usr/lib/fonts. I get the error "distance-field glyph is not available with index 0".

    So, why can't these things be found? I would think that since I have to point Creator at my target's qmake, and since qmake (and now, Creator) know all these paths, why aren't they picked up properly? Why isn't QML_IMPORT_PATH working? Are there a bunch of other variables I need to set up, and if so, is there a list of them somewhere (I can't seem to find this part of the documentation)?

    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