Debug Qrc Error 1
Contents |
download qt creator error 1 a browser that supports JavaScript, or enable main.o error 1 qt it if it's disabled (i.e. NoScript). Home Qt Development General and Desktop debug/moc_mainwindow.cpp error 1 [Solved] error: [debug/moc_mainwindow.cpp] Error 1 [Solved] error: [debug/moc_mainwindow.cpp] Error 1 This topic has been deleted. Only users with
Qrc_qml.cpp Error 1
topic management privileges can see it. szh1 last edited by I am getting an error: [debug/moc_mainwindow.cpp] Error 1 Here is the output from the "Compile Output" tab: Running build steps for project ExtremeImageConverter... Starting: "c:/qt/2010.05/qt/bin/qmake.exe" C:/My Dropbox/Extreme Image Converter/Extreme Image Converter/ExtremeImageConverter.pro -r -spec win32-g++ The process "c:/qt/2010.05/qt/bin/qmake.exe" exited normally. Starting: "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" -w mingw32-make: Entering directory `C:/My Dropbox/Extreme Image Converter/ExtremeImageConverter-build-desktop' C:/Qt/2010.05/mingw/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `C:/My Dropbox/Extreme Image Converter/ExtremeImageConverter-build-desktop' c:\Qt\2010.05\qt\bin\uic.exe "..\Extreme Image Converter\mainwindow.ui" -o ui_mainwindow.h g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"......\Qt\2010.05\qt\include\QtCore" -I"......\Qt\2010.05\qt\include\QtGui" -I"......\Qt\2010.05\qt\include" -I"......\Qt\2010.05\qt\include\ActiveQt" -I"debug" -I"." -I"..\Extreme Image Converter" -I"." -I"......\Qt\2010.05\qt\mkspecs\win32-g++" -o debug\main.o "..\Extreme Image Converter\main.cpp" g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"......\Qt\2010.05\qt\include\QtCore" -I"......\Qt\2010.05\qt\include\QtGui" -I"......\Qt\2010.05\qt\include" -I"......\Qt\2010.05\qt\include\ActiveQt" -I"debug" -I"." -I"..\Extreme Image Converter" -I"." -I"......\Qt\2010.05\qt\mkspecs\win32-g++" -o debug\mainwindow.o "..\Extreme Image Converter\mainwindow.cpp" g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"......\Qt\2010.05\
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up File not found error for a QML file inside a Qt resource up vote 2 down vote https://forum.qt.io/topic/1699/solved-error-debug-moc_mainwindow-cpp-error-1 favorite .pro # Add more folders to ship with the application, here folder_01.source = qml/qmlDeploy folder_01.target = qml DEPLOYMENTFOLDERS = folder_01 TEMPLATE += app QT += qml # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp # Please do not modify the following two lines. Required for deployment. include(qtquick2applicationviewer/qtquick2applicationviewer.pri) qtcAddDeployment() RESOURCES += \ resource.qrc main.cpp #include
08/25/2016 10:43AM Welcome 2016 from the Director 12/14/2015 04:25PM School of Computing Short Learning Programmes 07/26/2015 06:19PM Unisa contact information 07/28/2011 http://osprey.unisa.ac.za/phorum/read.php?384,123853,123922 01:28PM Forums Messages New 33076960 resource file (.qrc) May 30, 2010 http://blog.csdn.net/z609932088/article/details/51350984 08:38AM Registered: 8 years ago Posts: 105 Rating: -1 Hello, Does anyone know how to get the resource file working. I ran the moviethread application and I get this: Running build steps for project QAnimate_Proj... Configuration unchanged, skipping QMake step. Starting: C:/Qt/2009.03/mingw/bin/mingw32-make.exe -w mingw32-make: Entering directory error 1 `C:/Documents and Settings/Ronica Singh/My Documents/Unisa2010/COS3114/Projects/QAnimate_Proj' C:/Qt/2009.03/mingw/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `C:/Documents and Settings/Ronica Singh/My Documents/Unisa2010/COS3114/Projects/QAnimate_Proj' c:\Qt\2009.03\qt\bin\rcc.exe -name animate animate.qrc -o debug\qrc_animate.cpp mingw32-make[1]: Leaving directory `C:/Documents and Settings/Ronica Singh/My Documents/Unisa2010/COS3114/Projects/QAnimate_Proj' mingw32-make: Leaving directory `C:/Documents and Settings/Ronica Singh/My Documents/Unisa2010/COS3114/Projects/QAnimate_Proj' RCC: Error in 'animate.qrc': Cannot find file 'images/yin_yang0.jpg' mingw32-make[1]: *** [debug/qrc_animate.cpp] Error 1 mingw32-make: *** [debug] Error 2 Exited debug qrc error with code 2. Error while building project QAnimate_Proj When executing build step 'Make' This tells me I'm missing something. I followed what was necessary as per section 11.4 but, I think I didn't do something else. Can anyone tell me what that is? My project file looks this: SOURCES += movieview.cpp \ moviethreadmain.cpp \ moviethread.cpp \ filevisitor.cpp RESOURCES += animate.qrc HEADERS += movieview.h \ moviethread.h \ filevisitor.h Ronica Reply Quote robanaurochs Re: resource file (.qrc) May 30, 2010 09:25PM Registered: 11 years ago Posts: 1,424 Rating: 0 The error is quite clear, RCC: Error in 'animate.qrc': Cannot find file 'images/yin_yang0.jpg' Check that the file is actually there. Reply Quote 33076960 Re: resource file (.qrc) June 01, 2010 07:18AM Registered: 8 years ago Posts: 105 Rating: -1 yeah, this file animate.qrc, is unedited. Those picture files that supposed to be there, are there. But, don't worry, I'll just figure out how thread works and hope the lecturers don't expect me to know how image files works. Maybe I'll figure it
1 分类:QtQt 错误合集 (520) (2) 第一种方式,清理编译文件 把Qdebug release 文件件都删除, 删除makefile 文件 尝试重新编译 以上是网上寻找的结果 以下是我的解决方法 如果还抱错,请检查qrc文件是否存在异常 有可能是文件问题,通常有问题的地方回红色显示(我就是遇到这个问题) 修正qrc文件中出错的地方 通常就是删除后重新添加一下就ok 完美解决 文章列表 版权声明:本文为博主原创文章,未经博主允许不得转载;技术交流QQ:609932088 顶2 踩0 Qt 使用irrlicht(鬼火)3D引擎Qt QPainter::end: Painter ended whith 2 saced states 发表评论 发表评论 HTML/XMLobjective-cDelphiRubyPHPC#C++JavaScriptVisual BasicPythonJavaCSSSQL其它 z609932088 等级: 排名:千里之外 加关注 发私信 博客专栏 文章分类 Qt(36)算法(4)工具(1)Qt 错误合集(3)3D(10)UE4(10)VR(9)游戏开发(9)虚拟现实(9)手势识别(1)Leap(1)C++(15)VS(2)Ubuntu(20)Google chrome(1)Python(3)GIt(6)电脑优化(1)Linux(6)Shell(4) 文章存档 2016年09月(17) 2016年08月(25) 2016年07月(6) 2016年06月(5) 2016年05月(2) 2016年04月(6) 2016年03月(14) 2015年09月(2) 2015年08月(5) 2015年01月(1) 2014年08月(1) 阅读排行 Qt 播放音频文件(3182) Qt Creater 制作汽车仪表盘(833) Qt 建立带有子项目的工程(603) 虚拟现实-VR-UE4-创建第一个C++项目——Hello word(556) 虚拟现实-VR-UE4-编辑自定义Character-上下左右移动-旋转(533) 虚拟现实-VR-UE4-LEAP-Motion手势识别(519) Qt 编译时遇到 error: [debug/qrc_music.cpp] Error 1(516) 虚拟现实-VR-UE4-编译UE4源码(514) Qt 在控件上面绘图 label,pushbutton。。。。。(511) Qt 实时读串口数据,并将读到的数据从网口发送出去(489) 评论排行 虚拟现实-VR-UE4-编译UE4源码(6) Qt 播放音频文件(6) Qt 建立带有子项目的工程(6) 虚拟现实-VR-UE4-编译源代码后,无法运行(4) 虚拟现实-VR-UE4-创建C++版工程(4) Qt编译出错:During startup program exited with code 0xc0000135(3) Qt 实现脉搏检测-2,简陋的功能产品(3) 虚拟现实-VR-UE4-编辑自定义Character-上下左右移动-旋转(3) 虚拟现实-VR-UE4-获取UE4(3) 虚拟现实-VR-UE4-