我已安装taglib1-dev
。但无法弄清楚如何将它包含在Qt Creator中的项目中。我如何包含taglib标头?我见过Windows的解释,没有Ubuntu的解释。
答案 0 :(得分:0)
我为自己想出来了。你必须安装function addonCart(pid,attrib)
{
if(attrib == ""){
alert("Please Select Attribute Value.");
} else {
var url = '<?php echo $base_url ?>cart/addtocart/';
$.ajax({
url:url,
type:'post',
data:{
product : pid,
optionsRadios : attrib
}
});
}
}
。然后在qt程序中包含标题(.h)文件。在libtag1-dev
文件中,您必须添加.pro
,然后运行LIBS += -ltag
。