Menu

#11 Build for Windows with Visual Studio

open
nobody
None
5
2012-12-22
2011-04-03
hgysin
No

Some modifications are needed to compile the source (Version 1.1) for Windows with Visual Studio
(tested with Qt 4.7.2, QtCreator 2.1 and Visual Studio 2005)

1. add an include of <time.h> to the source files:
cdggenerator.cpp
testwindow.cpp

2. avoid usage of EINTR in checknewversion.cpp
#if !defined (WIN32)
if ( errno == EINTR )
continue;
#endif

3. link with wsock32 for all win32 configurations
win32::LIBS += -lwsock32
(instead of mingw only: win32-g++-*::LIBS += -lwsock32)

see a resolution for loading mp3 files on windows
Bug # 3121297 "MP3 files won't open at MSWIN"
https://sourceforge.net/tracker/?func=detail&aid=3121297&group_id=290648&atid=1229531

Discussion


Log in to post a comment.