diff --git a/configure.py b/configure.py index b600ac3..2f1fa80 100644 --- a/configure.py +++ b/configure.py @@ -692,7 +692,7 @@ int main(int argc,char **argv) fprintf(fp,"-x TQt_THREAD_SUPPORT\\n"); #endif -#if !defined(Q_WS_WIN) || defined(TQT_NO_STYLE_WINDOWSXP) +#if !defined(TQ_WS_WIN) || defined(TQT_NO_STYLE_WINDOWSXP) fprintf(fp,"-x TQt_STYLE_WINDOWSXP\\n"); #endif diff --git a/examples/mdi.py b/examples/mdi.py index 961c54a..84d9b36 100755 --- a/examples/mdi.py +++ b/examples/mdi.py @@ -286,7 +286,7 @@ class MDIWindow( TQMainWindow): self.medit.hide() del self.medit qm=TQMovie(fn) - #ifdef Q_WS_QWS // temporary speed-test hack + #ifdef TQ_WS_QWS // temporary speed-test hack #qm->setDisplayWidget(tmp); #endif tmp.setBackgroundMode(TQWidget.NoBackground) diff --git a/pytquic3/embed.cpp b/pytquic3/embed.cpp index a24f282..f86a1d6 100644 --- a/pytquic3/embed.cpp +++ b/pytquic3/embed.cpp @@ -32,7 +32,7 @@ // on embedded, we do not compress image data. Rationale: by mapping // the ready-only data directly into memory we are both faster and // more memory efficient -#if defined(Q_WS_QWS) && !defined(TQT_NO_IMAGE_COLLECTION_COMPRESSION) +#if defined(TQ_WS_QWS) && !defined(TQT_NO_IMAGE_COLLECTION_COMPRESSION) #define TQT_NO_IMAGE_COLLECTION_COMPRESSION #endif