Skip to content

Commit c0d817d

Browse files
committed
Fix tests link error on Windows
This commit fixes a link error building PythonQtCppTests on Windows: 1>PythonQtCppTests.obj : error LNK2001: unresolved external symbol "int __cdecl tests_PythonQtTestMain(int,char * * const)" (?tests_PythonQtTestMain@@YAHHQEAPEAD@Z) 1>C:\temp\PythonQt-build\Debug\PythonQtCppTests.exe : fatal error LNK1120: 1 unresolved externals
1 parent cb0cee9 commit c0d817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PythonQtTestMain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
#include <QApplication>
4646

47-
int main( int argc, char **argv )
47+
int main(int argc, char *argv[])
4848
{
4949
QApplication qapp(argc, argv);
5050

0 commit comments

Comments
 (0)