Results 1 to 5 of 5

Thread: problem with missing dll files

  1. #1
    Join Date
    Nov 2010
    Location
    Budapest, Hungary
    Posts
    125
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default problem with missing dll files

    Hi!

    I'm trying to get my application work outside the creator. I've tryed to find the missing dlls using the Dependency Walker, which were
    mingwm10.dll
    QtCore4.dll
    QtGui4.dll
    libgcc_s_dw2-1.dll

    Then I tried to start my program and something strange happened: it did not seem to do anything, but an outfut file (used basically for my test outputs during the development) was created. The task managed does not show my application, so I gues it was closed.

    Then I reloaded my program into dependency walker and i showd me more dependencies which should be there, but I can't understand what are they. I mean they are more dlls needed, available on the internet, but come on, they does not seem to be on my whole computer! Which would mean that I can run an application via the Creator without having them on the computer, but if I want to get a standalone application, I'll have to get them from somewhere.

    Furthermore it seems to be a dll-chain. As I downloaded the first, more dlls are missing, which are not on the copmuter again. I'm a bit lost by now.


    Szilvi
    Szilvi

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem with missing dll files

    make sure your PATH points to QTDIR\lib
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Nov 2010
    Location
    Budapest, Hungary
    Posts
    125
    Thanks
    17
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with missing dll files

    I wold need some guidance to this. I see at Tools->Options->Qt4->Qt Versions
    - Auto detected
    Qt in path <not found>
    - Manual
    c:\qt\2010.05\bin\qmake.exe

    it it what you mean?
    Szilvi

  4. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: problem with missing dll files

    I think high_flyer meant the environment variable named PATH, it has to contain the path to Qt binaries and .dlls : how to set PATH on windows

  5. #5
    Join Date
    Mar 2011
    Posts
    12
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: problem with missing dll files

    Those dlls will be present in your QT/MingGW lib directory, either you need to set the system PATH variable to point them or to copy all those dlls to your application directory before executing. You can still make your application independent of those dlls by compiling statically.

Similar Threads

  1. DLL missing problem
    By greatfog in forum Newbie
    Replies: 2
    Last Post: 19th January 2011, 06:18
  2. Replies: 2
    Last Post: 5th September 2010, 14:26
  3. Qt 4.6.2 examples -- generated files missing
    By jiapei100 in forum Qt Programming
    Replies: 0
    Last Post: 1st April 2010, 06:03
  4. QWT is missing files
    By Jore in forum Newbie
    Replies: 4
    Last Post: 18th February 2010, 15:28
  5. qt3 themes example: missing header files?
    By nikita in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2006, 12:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.