Hi, It seems, that this information is outdated. QStringList.append( QStringList ) has been introduced in Qt 4.5 [1] It looks like we need to update the requirements. Or in case there is still a stable distro we want to support which ships with Qt 4.4 we would need to adapt the code. Regardless, I would strongly recommend to update to a newer Qt version.
Kind regards, Matthias Kuhn [1] http://qt-project.org/doc/qt-4.8/qlist.html#append-2 On 27.07.2013 11:17, [email protected] wrote: > Hi, > I have done with all dependencies. No issue with that because now able > to generate the make file, now problem is arising in make command. And > Qt 4.4 is old only but in installation guide its mentioned that > Qt>=4.4. And I dont know becasue of what Im getting an error like in > "qgis/core/qgsExpression.h" in referenceColumns() function the code is > written as QStringList::append(QStringList) but Qt equivalent function > is not supporting this. > > Thanks, > Sugandha > > >> Hi, >> >> Qt 4.4 is really old already. If you are compiling the dependencies >> yourself as well as you wrote, you should consider using a newer >> version. >> Also, I don't know know why you are compiling all the dependencies >> yourself, normally it should be enough to install the required -devel >> packages. >> >> Regards, >> Matthias >> >> On Sam 27 Jul 2013 04:46:01 CEST, [email protected] wrote: >>> Hi, >>> Thank u for the reply. Ya I will try with the normal user only. But >>> now those warnings are not there but that Qt related errors are still >>> there. I ll try and inform u sir. >>> >>> >>> Thanks, >>> Sugandha >>> >>>> On Thu, Jul 25, 2013 at 1:44 AM, <[email protected]> wrote: >>>> >>>>> Hi All, >>>>> Im compiling the Qgis1.8 in RHEL 5, all the dependencies I >>>>> have >>>>> compiled, so now compiling the source code of QGIS, while doing >>>>> that as per compilation instruction when I gave "ccmake ..", >>>>> everything went properly but when I gave option 'g', it is showing >>>>> some WARNING messages like: >>>>> >>>>> >>>>> WARNING: Target "qgis_core" requests linking to directory >>>>> "/usr/local/lib". Targets may link only >>>>> to libraries. CMake is dropping the item. >>>>> >>>>> WARNING: Target "qgis_analysis" requests linking to directory >>>>> "/usr/local/lib". Targets may link >>>>> only to libraries. CMake is dropping the item. >>>>> >>>>> WARNING: Target "qgis_networkanalysis" requests linking to directory >>>>> "/usr/local/lib". Targets may >>>>> link only to libraries. CMake is dropping the item. ETC >>>>> >>>>> >>>>> Along with the WARNINGS I gave "make", at that time its giving >>>>> an >>>>> error like this: >>>>> >>>>> src/core/qgsexpression.h: In member function ˜virtual QStringList >>>>> QgsExpression::NodeInOperator::referencedColumns() const: >>>>> >>>>> /root/Desktop/qgis/final_qgis/qgis-1.8.0-9_0.el6.src.rpm_FILES/qgis-1.8.0/src/core/qgsexpression.h:335: >>>>> error: no matching function for call to >>>>> ˜QStringList::append(QStringList)™ >>>>> /usr/local/Trolltech/Qt-4.4.0/include/QtCore/qlist.h:420: note: >>>>> candidates >>>>> are: void QList<T>::append(const T&) [with T = QString] >>>>> >>>>> >>>> I have no idea why you get these errors, but you should NEVER run as >>>> root >>>> user, unless installing important things. >>>> Try again as a normal user, you will probably have better success. >>>> >>>> Etienne >>>> >>>> >>>>> >>>>> >>>>> Please guide me. >>>>> >>>>> >>>>> Thanks >>>>> Sugandha >>>>> >>>>> >>>>> Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve >>>>> Trees. Don't print this email or any Files unless you really need >>>>> to!!!! >>>>> Confidentiality Notice >>>>> >>>>> The information contained in this electronic message and any >>>>> attachments to this message are intended for the exclusive use of >>>>> the addressee(s) and may contain confidential or privileged >>>>> information. If you are not the intended recipient, please notify >>>>> the sender at Bharat Electronics or [email protected] immediately >>>>> and destroy all copies of this message and any attachments. >>>>> >>>>> _______________________________________________ >>>>> Qgis-developer mailing list >>>>> [email protected] >>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >>>>> >>> >>> >>> Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve >>> Trees. Don't print this email or any Files unless you really need to!!!! >>> Confidentiality Notice >>> >>> The information contained in this electronic message and any >>> attachments to this message are intended for the exclusive use of >>> the addressee(s) and may contain confidential or privileged >>> information. If you are not the intended recipient, please notify >>> the sender at Bharat Electronics or [email protected] immediately >>> and destroy all copies of this message and any attachments. >>> >>> _______________________________________________ >>> Qgis-developer mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> _______________________________________________ >> Qgis-developer mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/qgis-developer >> > > Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve > Trees. Don't print this email or any Files unless you really need to!!!! > Confidentiality Notice > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of > the addressee(s) and may contain confidential or privileged > information. If you are not the intended recipient, please notify > the sender at Bharat Electronics or [email protected] immediately > and destroy all copies of this message and any attachments. > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
