0

Is it possible with visual studio to statically compile a QtWidgets project so that no dlls have to be shipped together with the executable file? How do I go about this?

6
  • 1
    Even if you could, you still have to ship your compilers run time libraries. Commented Nov 9, 2022 at 16:54
  • @JesperJuhl wouldn't just the .exe be enough? Commented Nov 9, 2022 at 16:56
  • 1
    Rarely. See fx learn.microsoft.com/en-US/cpp/windows/… Commented Nov 9, 2022 at 16:58
  • 2
    @JesperJuhl I frequently statically link MS Runtime Support /MT - "Causes the application to use the multithread, static version of the run-time library." learn.microsoft.com/en-us/cpp/build/reference/… Commented Nov 9, 2022 at 17:05
  • @RichardCritten Sure, that is an option. I should have mentioned that. Commented Nov 9, 2022 at 17:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.