Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Visual Studio Add-in Linking (Qt4 Designer Plugin) to (Qt Application)
Forum Updated to NodeBB v4.3 + New Features

Visual Studio Add-in Linking (Qt4 Designer Plugin) to (Qt Application)

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 2.5k 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.
  • S Offline
    S Offline
    Sharpie
    wrote on last edited by
    #1

    Hello,

    I am currently building my first Qt4 application using the Visual Studio Add-in.

    I have created two Qt4 projects:

    qtTesting (Qt Application)
    customWidget (Qt4 Designer Plugin)

    I want to be able to compile customWidget and place the widget onto my qtTesting project using qtDesigner; where it will respectively load the correctly dll (debug or release) for the widget when loading the Qt Application.

    Is this possible?

    I currently have the customWidget but I have to manually place the widget into QTDir/plugins/designer (and it only accepts the release build); this means every time I modify the widget I must manually copy the new release build into the folder.

    There must be a better way!

    Thanks!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      You might want to try to add the following snippet to your .pro file

      @
      INSTALLS += target
      target.path = $$[QT_INSTALL_PLUGINS]/designer
      @

      I don't know whether that works on windows with the VS addin too, as I use it on a unix environment only.

      http://www.catb.org/~esr/faqs/smart-questions.html

      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