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. Problem with static deployment
Forum Updated to NodeBB v4.3 + New Features

Problem with static deployment

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 533 Views
  • 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.
  • M Offline
    M Offline
    Magnus21
    wrote on last edited by
    #1

    Hey, I have a problem with the static deployment of my application.
    The project is this one: https://github.com/Magnus2552/quickcurver/
    When I try to run qmake -config release, it just says Project ERROR: Plugin material is missing a classname entry, please add one to the qmldir file.. It compiles fine, when I don't try to build a static version, so I don't know what is going wrong.
    The source of the problem is for sure the qml-material plugin that I use: I import the qml-material plugin the way that it is described here in this section, is there anything else that I have to do for a static compilation?
    Thanks in advance
    Steps to reproduce my problem:

    1. Clone my repo including submodules (Installation instructions)
    2. Run the following command sequence
    cd quickcurver
    mkdir build
    PATH=/path/to/qt/bin:$PATH
    export PATH
    qmake --config release ..
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      Magnus21
      wrote on last edited by
      #2

      I solved this finally by linking to the plugin as well on compilation.

      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