Results 1 to 14 of 14

Thread: Qt 5.1 Application doesnt start in windows !!!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2013
    Location
    Iran
    Posts
    12
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Qt 5.1 Application doesnt start in windows !!!

    Hi
    I release prject with Qt 5.1.0 for windows using Windows 32-bit (VS 2012, 511 MB) then I put necessary dll s Including plugin folder ( with this application
    And then I run application in my own pc every thing works fine but when I tried other pc that doesn't contain Qt it doesn't start (no error just doesn't show any thing !...)
    Things that I have done :
    I installed visual c++ 2012-210-2008 Redistrutable packages
    Putting all dll s even debug ones !
    Putting plugins folder
    not.jpg
    I tried dependency walker but it seems nothing is missing !!

    Note that I have same probem with mingw version of Qt 5.1 too !
    I tried using this qApp->setLibraryPath(dir);
    Thenit runs but still cant play sound (doesn't recognize multimedia dll this one I think dsengine.dll !!)
    I use QMediaPlayer and QSqlite in my application and I added all necessary dll s

    Any help?

  2. The following user says thank you to omid_kma for this useful post:

    smemamian (14th July 2013)

  3. #2
    Join Date
    Mar 2013
    Posts
    45
    Thanks
    23
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    hi everybody

    I have same problem too, plz help

  4. #3
    Join Date
    Jan 2013
    Location
    Iran
    Posts
    12
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    Any help?!

  5. #4
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    Did you create a folder called platforms inside your application directory and add qwindows.dll into that folder?

  6. #5
    Join Date
    Jan 2013
    Location
    Iran
    Posts
    12
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    Quote Originally Posted by rawfool View Post
    Did you create a folder called platforms inside your application directory and add qwindows.dll into that folder?
    Yes I do see the picture I attached...

  7. #6
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    copy all of contents of plugins folder into your app to see if works. Did you used qml module in your app? Did you used third party libs in your app?

    If you used qml, then you have to copy contents of qml folder into your app folder.

  8. #7
    Join Date
    Jan 2013
    Location
    Iran
    Posts
    12
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    copy all of contents of plugins folder into your app to see if works.
    As I said,I tried it before.
    Did you used qml module in your app? Did you used third party libs in your app?
    No . I didn't use qml too.

  9. #8
    Join Date
    Jan 2012
    Location
    Iran, Tehran
    Posts
    308
    Thanks
    75
    Thanked 24 Times in 21 Posts
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    You said that the sound is not playing and the app has launched. so the problem is not triggered by dll and i think it has to be the path. are u sure about path of your sound files? ( have u added it into your resources or gave it an absolute path?)
    Last edited by alizadeh91; 16th July 2013 at 09:33.

  10. #9
    Join Date
    May 2017
    Posts
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt 5.1 Application doesnt start in windows !!!

    Quote Originally Posted by alizadeh91 View Post
    copy all of contents of plugins folder into your app to see if works. Did you used qml module in your app? Did you used third party libs in your app?

    If you used qml, then you have to copy contents of qml folder into your app folder.
    I signed up just to thank you. You saved me. Qt can be such a nightmare! I spent hours trying to figure out why my app would launch but no GUI popped up. That was it. I use the windeployqt tool and it doesn't import the qml folder for you. Ugh what a horrid nightmare. Missed my project deadline because of it.
    Thank you.

Similar Threads

  1. QProcess Problem: Program doesnt start
    By musaulker in forum Newbie
    Replies: 5
    Last Post: 30th April 2020, 23:07
  2. Windows CE + Application does start
    By uygar in forum Installation and Deployment
    Replies: 0
    Last Post: 21st October 2011, 18:10
  3. Replies: 5
    Last Post: 13th March 2010, 14:03
  4. QWT doesnt show any windows
    By Cal in forum Qwt
    Replies: 5
    Last Post: 30th June 2009, 17:05
  5. Start Qt application as Windows Service
    By ^NyAw^ in forum Qt Programming
    Replies: 12
    Last Post: 10th May 2008, 17:23

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.