User forums > Help
QT3 on windows
stblack:
I wonder if it's possible to use QT3 instead of QT4 on windows, because in the trolltech website [1] there are only the qt4 available for download.
I would like to test sw both under linux and windows.
Thanks
Stefano
[1] http://www.trolltech.com/developer/downloads/qt
stahta01:
you might look at http://sourceforge.net/projects/qtwin this is a port of qt3 to windows.
Tim S
stblack:
Thanks. :P
I am installing them now.
Stefano
stblack:
I have finished the installation process, using the batch file "configure-mingw.bat", with success, but C::B won't compile the tutorial 1 of the qt.
I removed the qt4 installation and I modified the PATH because was "C:\QT\4.2.2" now is C:\INSTALLQT3.
PATH=.......;C:\MinGW\bin;c:\installqt3\bin;C:\installqt3\include
Just for info I am using the last nightly build, that with QT4 was building perfectly.
the error I got is :
--- Code: ---Compiling: C:\installqt3\tutorial\t1\main.cpp
C:\installqt3\tutorial\t1\main.cpp:7:26: qapplication.h: No such file or directory
C:\installqt3\tutorial\t1\main.cpp:8:25: qpushbutton.h: No such file or directory
C:\installqt3\tutorial\t1\main.cpp: In function `int main(int, char**)':
C:\installqt3\tutorial\t1\main.cpp:13: error: `QApplication' undeclared (first use this function)
C:\installqt3\tutorial\t1\main.cpp:13: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\installqt3\tutorial\t1\main.cpp:13: error: expected `;' before "a"
C:\installqt3\tutorial\t1\main.cpp:15: error: `QPushButton' undeclared (first use this function)
C:\installqt3\tutorial\t1\main.cpp:15: error: expected `;' before "hello"
C:\installqt3\tutorial\t1\main.cpp:16: error: `hello' undeclared (first use this function)
C:\installqt3\tutorial\t1\main.cpp:18: error: `a' undeclared (first use this function)
Process terminated with status 1 (0 minutes, 0 seconds)
9 errors, 0 warnings
--- End code ---
Thanks
Stefano
stahta01:
Find out why the two headers qapplication.h qpushbutton.h are not being included.
If you did not know QApplication and QPushButton are NOT declared. You need to find out if qtfree supports them and which header is needed. (qpushbutton.h for QPushButton)
It is helpful to turn on Compiler logging to Full command line.
"Settings" -> "Compiler and debugger" Tab "Other" Set "Compiler logging" to "Full command line"
Tim S
Navigation
[0] Message Index
[#] Next page
Go to full version