Qt Tip: Set the executable file to run directly under the debug path

Source: Internet
Author: User

When Qt compiles, the shadow build is used by default, and a directory is generated under the working path: xxx-build-desktop-xxx.

If the compilation passes, an executable file is generated in that directory, double-clicked, but not run, prompting that a dynamic library file is missing.

There are two workarounds:

First, copy the dynamic library file to this directory;

Secondly, set environment variables.

{If it is a msvc version of Qt, the default is C:\Qt\Qt5.3.1\5.3\msvc2010_opengl\bin}

http://blog.csdn.net/jan5_reyn/article/details/38955693

Qt Tip: Set the executable file to run directly under the debug path

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.