且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

qmake不生成二进制资源文件

更新时间:2023-09-17 15:49:34

我认为@Pie_Jesu是正确的.我已经使用OP中的文件建立了目录结构,并将.pro文件导入到QtCreator中.由于我使用的是VS Express 2010,因此已从设置RCC_DIR的行中删除了"win32-msvc2008:"前缀. 结果是我收到类似无法打开\ qrc_filter_ao.cpp进行写入:访问被拒绝"之类的消息,并且未创建任何qrc_file. 然后,将行设置为/TEMP:

I think @Pie_Jesu is correct. I have set up a directory structure with the files from the OP, and imported the .pro file into QtCreator. I have removed the "win32-msvc2008: " prefix from the line which sets RCC_DIR since I am using VS Express 2010. Result was that I get a message like "Unable to open \qrc_filter_ao.cpp for writing: Access denied" and no qrc_file is being created. I then set the line to /TEMP:

RCC_DIR = /TEMP

结果是我在\ TEMP下面找到了qrc_文件.

Result is that I find the qrc_ file below \TEMP.