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. [SOLVED]Windows Deployment: Need SDK plugins present

[SOLVED]Windows Deployment: Need SDK plugins present

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 2.1k 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
    babazaroni
    wrote on last edited by
    #1

    Hello,

    I'm trying to make a deployable directory that contains the app, plus all the dll's and plugins needed.

    I seem to have it but have a weird problem. The plugins directory in the QtSDK must be present, even if it is empty, or a crash will result on startup in QtGui4.dll.

    This happens in release mode only, debug mode works. I set the plugins path with setLibraryPaths as the first thing I do in main to point to the plugins directory in the app directory.

    Does this ring a bell with anyone?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Sounds like a bug to me. The plugins directory should not be absolutely needed. What version of Qt is this with?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        babazaroni
        wrote on last edited by
        #3

        Ok, I've tried this on 4.7.4 and 4.8 and have the same result.

        My directory structure is:

        app directory
        app directory/plugins
        app directory/plugins/designer
        app directory/plugins/imageformats

        I've also tried moving the entire plugins tree (including plugins) to the app directory.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          [quote author="babazaroni" date="1326037826"]Ok, I've tried this on 4.7.4 and 4.8 and have the same result.

          My directory structure is:

          app directory
          app directory/plugins
          app directory/plugins/designer
          app directory/plugins/imageformats

          I've also tried moving the entire plugins tree (including plugins) to the app directory.[/quote]

          Try this:

          app directory
          app directory/designer
          app directory/imageformats

          1 Reply Last reply
          0
          • B Offline
            B Offline
            babazaroni
            wrote on last edited by
            #5

            I did try that as well Andre with no success.

            But, I've worked around the problem by providing a qt.conf file with:

            [Paths]
            Plugins = plugins

            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