Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. problem with installing QT 3
Forum Updated to NodeBB v4.3 + New Features

problem with installing QT 3

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mahboubeh
    wrote on last edited by mahboubeh
    #1

    Hi,
    I try to install qt3 in my ubunto but when build make across with this error:

    make[1]: Entering directory '/home/mahboubeh/qt3'
    cd qmake && make
    make[2]: Entering directory '/home/mahboubeh/qt3/qmake'
    g++ -c -o project.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ project.cpp
    project.cpp: In member function ‘bool QMakeProject::read(QString, QString)’:
    project.cpp:414:72: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf(stderr,"Changed QT version number to " + test_version + "!\n");
    ^
    g++ -c -o main.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ main.cpp
    g++ -c -o makefile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/makefile.cpp
    g++ -c -o unixmake2.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/unix/unixmake2.cpp
    g++ -c -o unixmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/unix/unixmake.cpp
    g++ -c -o borland_bmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/win32/borland_bmake.cpp
    g++ -c -o msvc_nmake.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/win32/msvc_nmake.cpp
    g++ -c -o msvc_dsp.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/win32/msvc_dsp.cpp
    g++ -c -o option.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ option.cpp
    g++ -c -o winmakefile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/win32/winmakefile.cpp
    g++ -c -o projectgenerator.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/projectgenerator.cpp
    g++ -c -o metrowerks_xml.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ generators/mac/metrowerks_xml.cpp
    g++ -c -o qstring.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qstring.cpp
    g++ -c -o qtextstream.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qtextstream.cpp
    g++ -c -o qiodevice.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qiodevice.cpp
    g++ -c -o qglobal.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qglobal.cpp
    /home/mahboubeh/qt3/src/tools/qglobal.cpp: In function ‘void qSystemWarning(const char*, int)’:
    /home/mahboubeh/qt3/src/tools/qglobal.cpp:562:16: warning: format not a string literal and no format arguments [-Wformat-security]
    qWarning( msg );
    ^
    g++ -c -o qgdict.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qgdict.cpp
    /home/mahboubeh/qt3/src/tools/qgdict.cpp: In member function ‘void QGDict::statistics() const’:
    /home/mahboubeh/qt3/src/tools/qgdict.cpp:841:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    /home/mahboubeh/qt3/src/tools/qgdict.cpp:845:23: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    /home/mahboubeh/qt3/src/tools/qgdict.cpp:866:14: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( buf );
    ^
    /home/mahboubeh/qt3/src/tools/qgdict.cpp:874:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    /home/mahboubeh/qt3/src/tools/qgdict.cpp: In member function ‘QDataStream& QGDict::read(QDataStream&)’:
    /home/mahboubeh/qt3/src/tools/qgdict.cpp:945:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    look_ptr( (void )k, d, op_insert );
    ^
    g++ -c -o qcstring.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qcstring.cpp
    g++ -c -o qdatastream.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qdatastream.cpp
    g++ -c -o qgarray.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qgarray.cpp
    g++ -c -o qbuffer.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qbuffer.cpp
    g++ -c -o qglist.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qglist.cpp
    g++ -c -o qptrcollection.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qptrcollection.cpp
    g++ -c -o qfile.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qfile.cpp
    g++ -c -o qfile_unix.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qfile_unix.cpp
    g++ -c -o qregexp.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qregexp.cpp
    g++ -c -o qgvector.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qgvector.cpp
    g++ -c -o qgcache.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qgcache.cpp
    /home/mahboubeh/qt3/src/tools/qgcache.cpp: In member function ‘void QGCache::statistics() const’:
    /home/mahboubeh/qt3/src/tools/qgcache.cpp:636:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    /home/mahboubeh/qt3/src/tools/qgcache.cpp:657:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    g++ -c -o qbitarray.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qbitarray.cpp
    g++ -c -o qdir.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qdir.cpp
    g++ -c -o qfileinfo_unix.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qfileinfo_unix.cpp
    g++ -c -o qdir_unix.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qdir_unix.cpp
    g++ -c -o qfileinfo.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qfileinfo.cpp
    g++ -c -o qdatetime.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qdatetime.cpp
    g++ -c -o qstringlist.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qstringlist.cpp
    g++ -c -o qmap.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/include -I/home/mahboubeh/qt3/src/tools -DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/mkspecs/linux-g++ /home/mahboubeh/qt3/src/tools/qmap.cpp
    g++ -o qmake project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o msvc_nmake.o msvc_dsp.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o
    rm -f /home/mahboubeh/qt3/bin/qmake
    ln -s /home/mahboubeh/qt3/qmake/qmake /home/mahboubeh/qt3/bin/qmake
    make[2]: Leaving directory '/home/mahboubeh/qt3/qmake'
    cd src/moc && make
    make[2]: Entering directory '/home/mahboubeh/qt3/src/moc'
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qbuffer.o ../tools/qbuffer.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qptrcollection.o ../tools/qptrcollection.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qcstring.o ../tools/qcstring.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qdatastream.o ../tools/qdatastream.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qdatetime.o ../tools/qdatetime.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qfile.o ../tools/qfile.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qgarray.o ../tools/qgarray.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qgdict.o ../tools/qgdict.cpp
    ../tools/qgdict.cpp: In member function ‘void QGDict::statistics() const’:
    ../tools/qgdict.cpp:841:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    ../tools/qgdict.cpp:845:23: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    ../tools/qgdict.cpp:866:14: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( buf );
    ^
    ../tools/qgdict.cpp:874:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    ../tools/qgdict.cpp: In member function ‘QDataStream& QGDict::read(QDataStream&)’:
    ../tools/qgdict.cpp:945:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    look_ptr( (void )k, d, op_insert );
    ^
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qglist.o ../tools/qglist.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qglobal.o ../tools/qglobal.cpp
    ../tools/qglobal.cpp: In function ‘void qSystemWarning(const char
    , int)’:
    ../tools/qglobal.cpp:562:16: warning: format not a string literal and no format arguments [-Wformat-security]
    qWarning( msg );
    ^
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qgvector.o ../tools/qgvector.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qiodevice.o ../tools/qiodevice.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qregexp.o ../tools/qregexp.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qstring.o ../tools/qstring.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qstringlist.o ../tools/qstringlist.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qtextstream.o ../tools/qtextstream.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qbitarray.o ../tools/qbitarray.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qmap.o ../tools/qmap.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qgcache.o ../tools/qgcache.cpp
    ../tools/qgcache.cpp: In member function ‘void QGCache::statistics() const’:
    ../tools/qgcache.cpp:636:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    ../tools/qgcache.cpp:657:26: warning: format not a string literal and no format arguments [-Wformat-security]
    qDebug( line.ascii() );
    ^
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qtextcodec.o ../codecs/qtextcodec.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qutfcodec.o ../codecs/qutfcodec.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o qfile_unix.o ../tools/qfile_unix.cpp
    g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -I/home/mahboubeh/qt3/include -I../tools -I. -I/home/mahboubeh/qt3/mkspecs/linux-g++ -o moc_yacc.o ./moc_yacc.cpp
    moc.y: In function ‘void generateClass()’:
    moc.y:2858:21: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf( out, hdr3 );
    ^
    moc.y:2859:21: warning: format not a string literal and no format arguments [-Wformat-security]
    fprintf( out, hdr4 );
    ^
    moc.y: In function ‘int yyparse()’:
    moc.y:737:16: warning: deprecated conversion from string constant to ‘char
    ’ [-Wwrite-strings]
    decl_specifier: storage_class_specifier { $$ = ""; }
    ^
    moc.y:739:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | fct_specifier { $$ = ""; }
    ^
    moc.y:740:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | FRIEND { skipFunc = TRUE; $$ = ""; }
    ^
    moc.y:741:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | TYPEDEF { skipFunc = TRUE; $$ = ""; }
    ^
    moc.y:747:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    decl_specs_opt: /* empty / { $$ = ""; }
    ^
    moc.y:765:16: warning: deprecated conversion from string constant to ‘char
    ’ [-Wwrite-strings]
    type_specifier: CONST { $$ = "const"; }
    ^
    moc.y:766:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | VOLATILE { $$ = "volatile"; }
    ^
    moc.y:778:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    simple_type_name: CHAR { $$ = "char"; }
    ^
    moc.y:779:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | SHORT { $$ = "short"; }
    ^
    moc.y:780:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | INT { $$ = "int"; }
    ^
    moc.y:781:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | LONG { $$ = "long"; }
    ^
    moc.y:782:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | SIGNED { $$ = "signed"; }
    ^
    moc.y:783:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | UNSIGNED { $$ = "unsigned"; }
    ^
    moc.y:784:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | FLOAT { $$ = "float"; }
    ^
    moc.y:785:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | DOUBLE { $$ = "double"; }
    ^
    moc.y:786:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | VOID { $$ = "void"; }
    ^
    moc.y:802:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    class_key: opt_template_spec CLASS { $$ = "class"; }
    ^
    moc.y:803:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | opt_template_spec STRUCT { $$ = "struct"; }
    ^
    moc.y:864:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    abstract_decl_opt: /* empty / { $$ = ""; }
    ^
    moc.y:884:16: warning: deprecated conversion from string constant to ‘char
    ’ [-Wwrite-strings]
    declarator: dname { $$ = ""; }
    ^
    moc.y:927:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    ptr_operators_opt: /* empty / { $$ = ""; }
    ^
    moc.y:943:16: warning: deprecated conversion from string constant to ‘char
    ’ [-Wwrite-strings]
    cv_qualifier_list_opt: /* empty / { $$ = ""; }
    ^
    moc.y:952:16: warning: deprecated conversion from string constant to ‘char
    ’ [-Wwrite-strings]
    cv_qualifier: CONST { $$ = "const"; }
    ^
    moc.y:953:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    | VOLATILE { $$ = "volatile"; }
    ^
    moc.y: In function ‘QCString combinePath(const char*, const char*)’:
    moc.y:1899:37: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
    if ( QT_GETCWD(currentName,PATH_MAX) >= 0 ) {
    ^
    test -d ../../bin/ || mkdir -p ../../bin/
    g++ --whole-archive -o ../../bin/moc qbuffer.o qptrcollection.o qcstring.o qdatastream.o qdatetime.o qfile.o qgarray.o qgdict.o qglist.o qglobal.o qgvector.o qiodevice.o qregexp.o qstring.o qstringlist.o qtextstream.o qbitarray.o qmap.o qgcache.o qtextcodec.o qutfcodec.o qfile_unix.o moc_yacc.o
    g++: error: unrecognized command line option ‘--whole-archive’
    Makefile:124: recipe for target '../../bin/moc' failed
    make[2]: *** [../../bin/moc] Error 1
    make[2]: Leaving directory '/home/mahboubeh/qt3/src/moc'
    Makefile:45: recipe for target 'src-moc' failed
    make[1]: *** [src-moc] Error 2
    make[1]: Leaving directory '/home/mahboubeh/qt3'
    Makefile:9: recipe for target 'init' failed
    make: *** [init] Error 2
    root@mahboubeh-linux:/home/mahboubeh/qt3#

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Luoyuan_Topview
      wrote on last edited by
      #2

      Dear Guy,
      I guess you have not install your Qt with full sets of source code. The make says your "src-moc" not found.
      However, I use Qt 5.4.2 ( for linux/ubuntu) with full set of source code works well.
      Maybe hopeful to you.
      Thanks.

      M 1 Reply Last reply
      0
      • L Luoyuan_Topview

        Dear Guy,
        I guess you have not install your Qt with full sets of source code. The make says your "src-moc" not found.
        However, I use Qt 5.4.2 ( for linux/ubuntu) with full set of source code works well.
        Maybe hopeful to you.
        Thanks.

        M Offline
        M Offline
        mahboubeh
        wrote on last edited by
        #3

        @Luoyuan_Topview
        Thanks, but I need QT 3, what can I do to solve this? where can I find full source?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved