In the project build linker options set
/SUBSYSTEM:windows
/ENTRY:mainCRTStartup
Or use the following #pragma in the source file with the int main(...)
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
More Related Contents:
- Why does my Qt 4.5 app open a console window under Windows?
- Qt static linking and deployment
- How to make Unicode charset in cmd.exe by default?
- How do include paths work in Visual Studio?
- Qt5 Static Build yields Failed to load platform plugin “windows”
- Is there a better Windows Console Window? [closed]
- How to use GCC with Microsoft Visual Studio?
- How to display japanese Kanji inside a cmd window under windows?
- Which Font is the default for MFC Dialog Controls?
- Microsoft Windows Python-3.6 PyCrypto installation error
- Automatic rescaling of an application on high-dpi Windows platform?
- How to Output Unicode Strings on the Windows Console
- Docker – failed to compute cache key: not found – runs fine in Visual Studio
- Qt 5.0 program runs in QtCreator but not outside
- Can I send some text to the STDIN of an active process under Windows?
- Use FFmpeg in Visual Studio
- How to show another window from mainwindow in QT
- Node.Js on windows – How to clear console
- How to remove warning LNK4099: PDB ‘lib.pdb’ was not found
- DEP0001 : Unexpected Error: -1988945906 while deploying Windows UWP app to phone
- Unicode console I/O in Haskell on Windows
- How to install Qt on Windows after building?
- Setting environment variables in pre-build event and using in compilation step
- OpenSSL and multi-threads
- Start/Stop and Restart Jenkins service on Windows
- How do I escape ampersands in batch files?
- Node.js/Windows error: ENOENT, stat ‘C:\Users\RT\AppData\Roaming\npm’
- In Windows cmd, how do I prompt for user input and use the result in another command?
- What is the Windows equivalent of process.on(‘SIGINT’) in node.js?
- Run batch file in Windows Installer Commit