Working toward compiling WSJT-X under Qt5. It doesn't work, yet.

The present code is still OK in Qt 4.x.  For Qt5, must replace 
#include <QtGui> by #include <QtWidgets> in several places, and 
uncomment these lines

//#include <QtConcurrent/QtConcurrentMap>
//#include <QtConcurrent/QtConcurrentRun>

in mainwindow.cpp.  More work still to do, for Qt5!



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3309 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-05-23 19:35:37 +00:00
parent d542e2fb55
commit 67a99ccbc4
5 changed files with 20 additions and 16 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ void getfile(QString fname, int ntrperiod)
{
char name[80];
strcpy(name,fname.toAscii());
strcpy(name,fname.toLatin1());
FILE* fp=fopen(name,"rb");
int i0=fname.indexOf(".wav");
@@ -53,7 +53,7 @@ void savewav(QString fname, int ntrperiod)
int npts=ntrperiod*12000;
// qint16* buf=(qint16*)malloc(2*npts);
char name[80];
strcpy(name,fname.toAscii());
strcpy(name,fname.toLatin1());
FILE* fp=fopen(name,"wb");
if(fp != NULL) {