Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Fail to deploy ttf files on Qt 5.2.1
Forum Updated to NodeBB v4.3 + New Features

Fail to deploy ttf files on Qt 5.2.1

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 549 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.
  • L Offline
    L Offline
    lucasnunes
    wrote on last edited by
    #1

    I'm developing an Android app with Qt 5.2.1. It's working, but it's not deploying any ttf font.
    That’s my .pro file:

    QML_FILES.source = source/qml/*
    QML_FILES.files = *.qml
    QML_FILES.target = .

    ASSETS_FILES.source = source/assets/*
    ASSETS_FILES.files = .
    ASSETS_FILES.target = .

    FONT_FILES.source = source/fonts/*
    FONT_FILES.files = .
    FONT_FILES.target = ./fonts

    DEPLOYMENTFOLDERS +=
    QML_FILES
    ASSETS_FILES
    FONT_FILES

    After build, my assets have all file (including ttf), but when I open the .apk file there'snt any ttf file (just qml and png).

    What could be causing this? It's a Qt bug or a bad configuration?

    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