c++ - Building Qt-4.3.2 from source on Linux machine -


i trying build , compile qt 4.3.2 on linux machine.i have downloaded package http://download.qt.io/archive/qt/4.3/qt-x11-opensource-src-4.3.2.tar.gz.mirrorlist configured options:

./configure -platform linux-g++ -debug-and-release -qt-zlib -qt-libtiff -qt-libmng -qt-libjpeg -openssl -v -opengl -glib 

after trying compile make , getting following error.

../../../include/qtcore/../../src/corelib/thread/qatomic.h: in instantiation of ‘qatomicpointer<t>::qatomicpointer(t*) [with t = qbytearray]’: ../../corelib/codecs/qsimplecodec.cpp:609:74:   required here ../../../include/qtcore/../../src/corelib/thread/qatomic.h:207:7: error: ‘init’ not declared in scope, , no declarations found argument-dependent lookup @ point of instantiation [-fpermissive] ../../../include/qtcore/../../src/corelib/thread/qatomic.h:207:7: note: declarations in dependent base ‘qbasicatomicpointer<qbytearray>’ not found unqualified lookup ../../../include/qtcore/../../src/corelib/thread/qatomic.h:207:7: note: use ‘this->init’ instead make[1]: *** [.obj/release-shared/qsimplecodec.o] error 1 make[1]: leaving directory '/home/shraddha/shraddha/jst/qt/qt-x11-opensource-src-4.3.2/src/tools/rcc' make: *** [sub-rcc-make_default-ordered] error 2 

did wrong or leaving something?

it gives hint wrong note: use ‘this->init. happens older code using templates not qualifying access class members this-> prefix. either try (a) add cxxflags='-fpermissive' environment before configuring, or (b) newer qt version or (c) older compiler (kidding).


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -