![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Qt
dongchangc
一起学习
展开
-
安装qt qmake 错误:could not find a Qt installation of ''
在进行 qmake 的时候,出现了下面的错误:could not find a Qt installation of ''我的操作系统是 Linux , Qt 版本是 5.4 ,在 Qt 官网下载的最新版。使用which qmake 也能够找到 qmake 的路径:/usr/bin/qmake然后 ls -al /usr/bin/qmake 的输出是:/usr/bin/翻译 2016-11-23 14:49:44 · 18194 阅读 · 6 评论 -
argument void(MainWindow:: *)() to const char *
在使用 QAction *addAction();函数时出现 argument void(MainWindow:: *)() to const char * 我的函数原型是 ui->mainToolBar->addAction(tr("切换选择"), this, &MainWindow::toggleSelection);查看对应的重载函数的原型是QAction原创 2017-11-16 15:28:21 · 354 阅读 · 0 评论