QtXlsxWriter icon indicating copy to clipboard operation
QtXlsxWriter copied to clipboard

encounter a build error

Open lee-fan opened this issue 8 years ago • 0 comments

After I build the source file.I test the first program provided by QtXlsxWriter website. But there is a error: qtmain_win.cpp: error: undefined reference to `qMain(int, char**)' collect2.exe: error: error: ld returned 1 exit status

but i got a solution from google: after i add one line "undef main" to the source ,it can behave properly.

And I am confused why this happen?

lee-fan avatar Jul 21 '16 08:07 lee-fan