Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. MAC bundle with Qt.labs.folderlistmodel
Qt 6.12 LTS is out! See what's new in the release blog

MAC bundle with Qt.labs.folderlistmodel

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.9k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    I´ve a working Qt application for windows and linux, I want it running also in a Mac and after some reading I found macdeployqt that works fine...BUT I have a module that uses Qt.labs.folderlistmodel. As I ran macdeployqt the bundle did not work. I removed the module that uses folderlistmodel, and ran macdeployqt and the bundle worked fine. When I include the module in the project, and run macdeployqt, and I try to run the program from the IDE I found the next error "qrc:/qml/qml/SelectorImagenes.qml:2:1: module "Qt.labs.folderlistmodel" is not installed", So I guess that macdeployqt is not including the library in the bundle, but I have not idea how to do it?

    Can anyone give some advice?

    Thanks in advance

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I don't know anything about the folderlist model stuff, but if it is in a dynamic lib, you need to copy it to the frameworks folder of the bundle or to the plugins folder or something similar.

      Did you read the "generic":/doc/qt-4.7/deployment.html and "mac specific":/doc/qt-4.7/deployment-mac.html deployment guides of the docs already? They show you where to put your stuff in the bundle.

      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
      • Unsolved