Skip to content

Commit 3976e93

Browse files
msmolensjamesobutler
authored andcommitted
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 a33301e commit 3976e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PythonQtTestMain.cpp

Lines changed: 1 addition & 1 deletion
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)