Results 1 to 20 of 33

Thread: Devastating Deployment Issues

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Devastating Deployment Issues

    Your deployment folder for a release Qt5 widgets application using the distributed Qt bundle should contain (minimum):
    Qt Code:
    1. Folder/
    2. your.exe
    3.  
    4. mylibrary.dll // any DLLs you have built as part your project (maybe none)
    5.  
    6. qextserialport.dll // Any DLLs from third parties that your application depends on (I guessed names)
    7. qcustomplot.dll
    8. ...
    9.  
    10. plugins/ // any plugins you have written and built for your project (maybe none)
    11. myplugin.dll
    12. myotherplugin.dll
    13.  
    14. Qt5Core.dll // Qt 5 libraries your program needs
    15. Qt5Gui.dll
    16. Qt5Core.dll
    17. ...
    18.  
    19. icudtXX.dll // Things the Qt5 libraries depend on
    20. icuinXX.dll
    21. icuucXX.dll
    22. libEGL.dll
    23. libGLESv2.dll
    24. d3dcompiler_XX.dll
    25.  
    26. msvcr110.dll // Dependencies your compiler imposes, in this case MS VC 11
    27. msvcp110.dll
    28.  
    29. platforms/ // Qt plugins required at run time to support platform
    30. qwindows.dll
    31.  
    32. imageformats/ // Other Qt plugins your program may require
    33. qjpeg.dll
    34. ...
    35. iconengines/
    36. qsvgicon.dll
    37. ...
    To copy to clipboard, switch view to plain text mode 
    The distributed packages are ICU and ANGLE-based.

  2. #2
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    I succeded a little bit - after gathering all these files with the help of Dependency Walker and putting them all in my directory:

    Qt Code:
    1. 30.10.2013 09:24 <DIR> .
    2. 30.10.2013 09:24 <DIR> ..
    3. 16.06.2013 04:17 3.072 API-MS-Win-Core-Kernel32-Private-L1-1-1.dll
    4. 16.06.2013 04:17 3.072 api-ms-win-core-privateprofile-l1-1-1.dll
    5. 16.06.2013 04:17 3.584 api-ms-win-service-private-l1-1-1.dll
    6. 28.10.2013 14:21 391.680 GUI.exe
    7. 23.04.2013 10:45 22.317.056 icudt51.dll
    8. 23.04.2013 10:45 2.236.928 icuin51.dll
    9. 23.04.2013 10:45 1.690.112 icuuc51.dll
    10. 30.09.2013 02:46 346.624 IEShims.dll
    11. 02.07.2013 18:59 48.128 libEGL.dll
    12. 02.07.2013 09:00 329.216 libEGLd.dll
    13. 02.07.2013 09:00 860.160 libGLESv2.dll
    14. 02.07.2013 09:00 3.763.712 libGLESv2d.dll
    15. 26.07.2012 14:22 661.448 msvcp110.dll
    16. 26.07.2012 14:22 828.872 msvcr110.dll
    17. 28.10.2013 15:34 <DIR> platforms
    18. 24.07.2013 15:28 4.598.784 Qt5Core.dll
    19. 24.07.2013 15:28 10.124.800 Qt5Cored.dll
    20. 02.07.2013 09:05 3.678.720 Qt5Gui.dll
    21. 02.07.2013 09:06 7.675.904 Qt5Guid.dll
    22. 02.07.2013 09:11 528.896 Qt5PrintSupportd.dll
    23. 02.07.2013 18:59 4.269.568 Qt5Widgets.dll
    24. 02.07.2013 09:10 10.223.616 Qt5Widgetsd.dll
    25. 02.07.2013 09:12 1.043.456 qwindows.dll
    26. 02.07.2013 09:12 2.217.472 qwindowsd.dll
    27. 23 Datei(en), 77.844.880 Bytes
    28. 3 Verzeichnis(se), 38.681.681.920 Bytes frei
    To copy to clipboard, switch view to plain text mode 
    The only thing Dependency Walker shows right now (and I cant find these two dlls on my pc?):
    depend_3.jpg
    But when I double click my exe, just nothing happens. If I try to open it via comand prompt, it just does nothing too. No error, no reaction. Nothing. How shall I proceed now
    Last edited by xtlc; 30th October 2013 at 08:37.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Devastating Deployment Issues

    You are missing d3dcompiler_xx.dl.
    Put qwindows.dll in the platforms folder where it came from.

    Remove the debug libraries, e.g. Qt5Widgetsd.dll.
    Remove IEShims.dll, it is a non redistributable part of Windows (if it exists at all on a machine) and typically is not required despite what Dependency Walker would indicate.
    I do not know what the api-ms-* files are but I suspect they are not required. Try removing them after you get the program starting.

  4. #4
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    Still the same: No error, no nothing

    Dependency Walker now shows this (i deleted the IEShims.dll, put the qwindows.dll in the platforms folder (its empty except that one file, correct?) and removed the *d.dll files and/or replaced them with the *.dll's).

    depend_4.jpg
    The red C++ lines on the right side there make me nervous...
    And this is how the folder looks like right now:
    files_1.PNG

    EDIT: Ah and I used the d3dcompiler_47.dll - is that kinda correct?
    Last edited by xtlc; 4th November 2013 at 09:28.

  5. #5
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    anyone got any idea?

  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Devastating Deployment Issues

    You said you were building your project with VS2012(VC11) yet the Qt5Widgets DLL you are deploying appears to be linked against the runtime for VS2010(VC10, msvcr100.dll). Are you sure you do not have mixed versions and that you are getting the correct Qt5 library binaries?

  7. The following user says thank you to ChrisW67 for this useful post:

    xtlc (7th November 2013)

  8. #7
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    no i am not. i am not sure about anything regarding deployment

    How can I check this / undo my mistake?

  9. #8
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Devastating Deployment Issues

    It is difficult because I cannot see your machine and do not have a VS2010 or 2012 install.

    Exactly which version of Qt have you downloaded and installed?
    What directories do you have in your Qt install directory?
    Is there more than one Qt5Widgets.dll on your machine (other than the one in your deployment folder)? Which paths?

  10. The following user says thank you to ChrisW67 for this useful post:

    xtlc (11th November 2013)

  11. #9
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    Ok I will try to bring all the intel together

    I have installed QT 5.1.0 in c:\5.1.0

    Here is a screnie of the Visual Studio components:
    msvs.jpg
    The Screenie of the QT5 dir:
    qt5dir.PNG
    The QT5Widgets.dll's:
    qt5widgets.jpg

    Thx for your help!

  12. The following user says thank you to xtlc for this useful post:


  13. #10
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    Anyone else some ideas please?

  14. The following user says thank you to xtlc for this useful post:


  15. #11
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    pretty please?!

  16. The following user says thank you to xtlc for this useful post:


  17. #12
    Join Date
    Jul 2013
    Posts
    36
    Thanks
    14
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5

    Default Re: Devastating Deployment Issues

    Dependency Walker now shows these three Files missing:

    API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
    EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
    IESHIMS.DLL

    Shall I put them in the deployment dir or not?

    I still have no idea what to do with these red marked lines:
    depends23.jpg

  18. The following user says thank you to xtlc for this useful post:


Similar Threads

  1. !!!! problem deployment of a Mac
    By eric_vi in forum Installation and Deployment
    Replies: 0
    Last Post: 21st May 2010, 15:38
  2. A different deployment technique QT. Is it the right way of deployment?
    By Tarun in forum Installation and Deployment
    Replies: 1
    Last Post: 15th February 2010, 14:45
  3. deployment size issues, please help
    By udit in forum Installation and Deployment
    Replies: 4
    Last Post: 17th August 2009, 09:32
  4. Qt 4.3: Deployment on MAC
    By Angelo Moriconi in forum Installation and Deployment
    Replies: 0
    Last Post: 23rd July 2007, 12:03
  5. deployment of a dll using qt
    By mandal in forum Installation and Deployment
    Replies: 1
    Last Post: 14th March 2007, 15:35

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
  •  
Qt is a trademark of The Qt Company.