Cannot go through configuration for Qt-4.8.0 on Ubuntu 11.10.

  • Hey guys,

    I uninstalled my older Qt and tried to install the new one, but oddly I cannot even get it through the configuration stage.

    Creating qmake. Please wait...
    g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include/QtCore -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/src/corelib/global -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/src/corelib/xml -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/home/sdou/Software/qt-everywhere-opensource-src-4.8.0/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED project.cpp
    In file included from /home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include/QtCore/qlist.h:1:0,
    from /home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
    from /home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include/QtCore/qstringlist.h:1,
    from project.h:45,
    from project.cpp:42:
    /home/sdou/Software/qt-everywhere-opensource-src-4.8.0/include/QtCore/../../src/corelib/tools/qlist.h:58:15: fatal error: new: No such file or directory
    compilation terminated.
    make: *** [project.o] Error 1

    Could anyone give me some suggestions on what might've caused the problem here?

    Thank you very much! :)

  • i dont know weather this will work or not but u can do one thing download again and try re-installing it.

  • I guess you did download the *.zip package. This will Not work on a linux machine because of the different line endings. You have to take the *.gz or *.tar.bz2 package and it will work!

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.