Table of contents
1. Open the suffix name.pro file
2. Add network after QT += core gui
3. Rebuild the program and find that the error is no longer reported! ! !
foreword
When I used QtCreator to make a simple thread today, after writing the program, I found that an error was reported, which is the following error:
cannot open output file testQThread.exe: Permission denied
After the following research, this problem was solved, and I would like to share it with you here:
Follow me step by step, very simple, return in seconds
1. Open the suffix name.pro file
2. Add network after QT += core gui