i want to build qt5, but failed, that is the problem. 在 2012-3-20 上午2:56,"1+1=2" <[email protected]>写道:
> Hi Fan, > > First, I don't think it has anything to do with libqt4-dev. :-) > > By the way, this thread discuss QtCreator and Qt5 alpha, are you using > Qt4 or Qt5 now? > Make sure they are mixed. > > Regards > > Debao > > On Mon, Mar 19, 2012 at 10:10 AM, Yang Fan <[email protected]> wrote: > > Hi All, > > > > The dependency issue had been resolved, I installed libqt4-dev package. > Now > > I have got another compiling error which I'm executing make install > command: > > > > In file included from util/qdeclarativepropertymap.cpp:42: > > util/qdeclarativepropertymap.h:56: error: expected initializer before ‘:’ > > token > > make[3]: *** [.obj/release-shared/qdeclarativepropertymap.o] Error 1 > > make[3]: Leaving directory > > `/media/Documents_/qt5-git/qtdeclarative/src/declarative' > > make[2]: *** [sub-declarative-install_subtargets-ordered] Error 2 > > make[2]: Leaving directory `/media/Documents_/qt5-git/qtdeclarative/src' > > make[1]: *** [module-qtdeclarative-src-install_subtargets] Error 2 > > make[1]: Leaving directory `/media/Documents_/qt5-git/qtdeclarative' > > make: *** [module-qtdeclarative-install_subtargets] Error 2 > > > > Ive checked the source code, it seems to be correct in syntax: > > > > > > class QDeclarativePropertyMapPrivate; > > class Q_DECLARATIVE_EXPORT QDeclarativePropertyMap : public > > QObject // <= compiling stops at this line > > { > > Q_OBJECT > > public: > > QDeclarativePropertyMap(QObject *parent = 0); > > virtual ~QDeclarativePropertyMap(); > > ........ > > > > Any suggestion? > > > > Thanks, > > Fan > > > > > > On Mon, Mar 19, 2012 at 2:37 AM, 1+1=2 <[email protected]> wrote: > >> > >> Hi Fan, > >> > >> Packages which contain libGL.so can be found from here: > >> > >> > >> > http://packages.ubuntu.com/search?searchon=contents&keywords=libGL.so&mode=exactfilename&suite=lucid&arch=any > >> > >> First, make sure that libGL.so have been installed in your computer, > >> and find its location. > >> > >> Second, if the linker still complains that it can not find the > >> library, many solutions (workrounds?) can be used. > >> > >> * Changed the project file (***.pro/.pri), add LIBS+= -L... > >> * Using ldconfig (add library path to /etc/ld.so.config.d/... then > >> run ldconfig) > >> * ... > >> > >> Debao > >> > >> On Sun, Mar 18, 2012 at 7:56 AM, Yang Fan <[email protected]> wrote: > >> > Hi Kai, > >> > I have tried all possible packages you mentioned that may contain > >> > libGL.so > >> > on Ubuntu 10.04, but it still can't work. > >> > > >> > Regards, > >> > Fan > >> > > >> > On Fri, Mar 16, 2012 at 3:14 AM, <[email protected]> wrote: > >> >> > >> >> Well, I can tell you is that libGL.so is installed on my system > (Ubuntu > >> >> 11.10) by the package > >> >> libgl1-mesa-swx11 , which should IMO be a dependency of the mentioned > >> >> libglu1-mesa-dev. > >> >> > >> >> Anyhow, I'm neither a package manager guru nor do understand exactly > >> >> what > >> >> each of these mesa packages is about ;) But apt-cache search is a > nice > >> >> way > >> >> to find packages that have a specific file. > >> >> > >> >> Regards > >> >> > >> >> Kai > >> > > >> > > >> > > >> > _______________________________________________ > >> > Qt-creator mailing list > >> > [email protected] > >> > http://lists.qt-project.org/mailman/listinfo/qt-creator > >> > > >> _______________________________________________ > >> Qt-creator mailing list > >> [email protected] > >> http://lists.qt-project.org/mailman/listinfo/qt-creator > > > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
