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. Resolving DLLs
Forum Updated to NodeBB v4.3 + New Features

Resolving DLLs

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 290 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.
  • N Offline
    N Offline
    normvcr
    wrote on last edited by
    #1

    I've concluded that manifests and configuration files are beyond my mortal brain. So, I've settled on two options for telling my QT utilities where to find their DLLs:

    • Put the QT bin folder into the PATH variable, or

    • Wrap the QT utility in a batch file, which has the QT bin folder in its PATH variable

    The advantage of the 2nd option, of course, is to not pollute my path variable. Am I being too nit picky to be considering the 2nd option? Does anyone have other suggestions?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You're talking about Windows? And about a development machine?

      Just use the cmd.exe link provided by Qt installation - it has everything set up by default IIRC. Putting Qt into PATH is perfectly OK, too.

      There is also a tool called qtchooser, but I'm not sure if it works on Windows.

      (Z(:^

      N 1 Reply Last reply
      0
      • sierdzioS sierdzio

        You're talking about Windows? And about a development machine?

        Just use the cmd.exe link provided by Qt installation - it has everything set up by default IIRC. Putting Qt into PATH is perfectly OK, too.

        There is also a tool called qtchooser, but I'm not sure if it works on Windows.

        N Offline
        N Offline
        normvcr
        wrote on last edited by
        #3

        @sierdzio Thank you, yes, this is a Windows development machine. I am looking in the folder

        C:\systems\QT\5.12.5\msvc2017_64\bin
        

        but do not see a cmd.exe . Maybe I did not opt for it when paring down the installation process. No matter. Thanks for the feedback on the PATH variable.

        sierdzioS 1 Reply Last reply
        0
        • N normvcr

          @sierdzio Thank you, yes, this is a Windows development machine. I am looking in the folder

          C:\systems\QT\5.12.5\msvc2017_64\bin
          

          but do not see a cmd.exe . Maybe I did not opt for it when paring down the installation process. No matter. Thanks for the feedback on the PATH variable.

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @normvcr said in Resolving DLLs:

          but do not see a cmd.exe .

          I think it's added to start menu on Windows, but maybe I misremember something.

          In any case, you can run regular cmd.exe and execute qtenv2.bat from bin/ folder.

          (Z(:^

          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