简体   繁体   English

使用QT Creator在Debian Ubuntu 11.10(Oneric)中安装QxOrm

[英]Installing QxOrm in debian ubuntu 11.10(oneric) using qt creator

Error while building qx orm using Qt Creator in ubuntu 11.10 在Ubuntu 11.10中使用Qt Creator构建qx orm时出错

Postby batosai » Mon Feb 20, 2012 11:31 am hi i am new to Qxorm. Postby batosai»2012年2月20日,星期一嗨,我是Qxorm的新手。 i was trying to build Qxorm using qt creator it is giving me following errors. 我试图使用Qt Creator构建Qxorm,这给了我以下错误。 1) error: cannot find -lboost_serialization-mt 2) error: collect2: ld returned 1 exit status 1)错误:找不到-lboost_serialization-mt 2)错误:collect2:ld返回1退出状态

i am using boost 1.48.0 and it is installed in the path /usr/local/include/boost boost library path is /usr/local/lib 我正在使用boost 1.48.0,它安装在路径/ usr / local / include / boost boost库中,路径是/ usr / local / lib

so please help me with the flags i have to set in qxorm.pri file and also where does the Qxorm get installed? 因此,请帮助我处理我必须在qxorm.pri文件中设置的标志以及Qxorm的安装位置?

Thanks in advance 提前致谢

I've read somewhere that -mt was removed form their libraries. 我读过某处-mt已从其库中删除。 I managed to remove it from .pro and .pri files, and used the sudo make install command to install it. 我设法从.pro和.pri文件中删除了它,并使用sudo make install命令来安装它。 However, when I tried to build the example project qxBlog the build failed because it didn't recognize QxOrmd library. 但是,当我尝试构建示例项目qxBlog时,构建失败,因为它无法识别QxOrmd库。 In conclusion either QxORM have to step up their game or we need to create a WORKING ORM for Qt framework 总而言之,要么QxORM必须加紧努力,要么我们需要为Qt框架创建WORKING ORM。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM