Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Plugin is not install with INSTALLS (custom widget plugin example)
Forum Update on Monday, May 27th 2025

Plugin is not install with INSTALLS (custom widget plugin example)

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 174 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.
  • B Offline
    B Offline
    bduminyuk
    wrote on 3 Feb 2020, 12:30 last edited by bduminyuk 2 Mar 2020, 12:34
    #1

    The question is about the custom widget plugin example. Besides other options I see the default installation strings looking into the *.pro file:

    TARGET = $$qtLibraryTarget($$TARGET)
    
    target.path = $$[QT_INSTALL_PLUGINS]/designer
    INSTALLS += target
    

    But if I run it (using CTRL+R) nothing changes in the plugins/designer directory. If I move the dll manually then Qt Designer finds it.

    The docs says

    In the above lines, qmake knows what needs to be copied, and will handle the installation process automatically.

    So I think the installation process must be executed every build time automatically. But it does not.

    Any idea why it happens?

    P.S. I use Windows 10 and Qt 5.13.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 3 Feb 2020, 12:37 last edited by
      #2

      You need to run make install step, which is not run by Qt Creator. You can either add custom make step in Qt Creator, or run it manually from terminal (cmd.exe).

      (Z(:^

      1 Reply Last reply
      3

      1/2

      3 Feb 2020, 12:30

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved