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. QMake install problem
Forum Updated to NodeBB v4.3 + New Features

QMake install problem

Scheduled Pinned Locked Moved Installation and Deployment
qmakedeployment
1 Posts 1 Posters 858 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by VRonin
    #1

    I'm trying to deploy a library using qmake, the aim is to allow to run qmake and make to build the library and then "make install" to move includes and the binaries to a specific folder specified as PREFIX parameter to qmake.
    This is what I tried to do, my pro file contains:

    installbin.path=$$PREFIX/lib
    installbin.files = mylibrary.dll
    installbin.files += mylibrary.lib
    installbin.files = mylibrary.exp
    INSTALLS += installbin
    

    The problem is that, obviously, when I run qmake those files don't exist yet so it won't work.
    Any idea how can I fix this?

    P.S.
    using just

    installbin.path=$$PREFIX/lib
    INSTALLS += installbin
    

    is not an option as they would be copied to the wrong destination

    Thanks in advance

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

    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