About:-1: error: cannot open output file testQThread.exe: Permission denied solution (super detailed, read it in seconds)

Table of contents

foreword

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

 

 

3. Rebuild the program and find that the error is no longer reported! ! !

Guess you like

Origin blog.csdn.net/m0_65635427/article/details/130680416