Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8918897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:52:01+00:00 2026-06-15T05:52:01+00:00

I am developing a cross platform Qt audio application. On Linux, the application runs

  • 0

I am developing a cross platform Qt audio application. On Linux, the application runs without any problems, but on Windows the application do not execute when started from the Qt Creator.

When running with the Release configuration (or without debugging), Qt Creator simply says:

“The program has unexpectedly finished.”

If I run with the Debug configuration (or debugging), Qt Creator says:

“During startup program exited with code 0x0000135.”

Since googling for the error did not helped at all, I decided to copy every .exe and .dll (needed Qt libraries – like QtCore – included) needed by my application to an empty directory and the application executed perfectly, just like under Linux.

So, I’m guessing this is a problem with the Windows not finding the dll’s needed by my application.

This problem appeared last weekend when I upgraded my system to Windows 8. Previously (with Windows 7) I had no such problem.

Does anyone know a solution that do not involves modifying the build parameters (which are stored at the file .user)?

I don’t want to do this because this file will be invalidated when I test the application under Linux, and I don’t want to keep to versions of it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T05:52:02+00:00Added an answer on June 15, 2026 at 5:52 am

    Just solved it!

    Probably a bug in Qt Creator.

    My project has 4 sub-projects inside: main.exe, a core.dll, side.dll, external.dll.

    main.exe needs core.dll and side.dll
    core.dll needs external.dll
    

    Since main.exe needs only core.dll and side.dll, I have not added a reference to external.dll. Qt Creator should be smart enough to detect its dependencies and add them accordingly (well, at last this is what happens under Linux).

    Since it don’t detect correctly the dependencies, it does not build the correctly PATH environment variable when I try to run main.exe from Qt Creator, causing the problems.

    Solved it by adding the following lines at my main.pro file:

    win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../external/release/ -lexternal
    else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../external/debug/ -lexternal
    
    #INCLUDEPATH += $$PWD/../external
    win32: DEPENDPATH += $$PWD/../external
    

    Note: I changed the modules names for better understanding.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing cross platform(Windows, Linux) desktop application using Mono and Gtk#. Application will
I'm currently developing a cross-platform C application. Is there any compiler macro which is
I'm developing a cross platform game engine this targets Windows, Linux, Mac, Mobiles(Android, iOS)
I am currently developing a Java cross-platform (windows and mac os x) application running
I am developing cross-platform Qt application. It is freeware though not open-source. Therefore I
I'm developing a cross platform (windows + OSX) application that will be used commercially.
I am developing a cross-platform application in C++ in VS2005. I already know how
In what measure is developing with mono cross-platform? How do I compile for Windows
I'm developing a cross-platform RCP application in Win 7 (64bit), Indigo/Java 1.6, building the
I've heard of mono for developing cross platform .Net applications but why does the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.