Qt Quick Application error on debugging, help,
-
I created project of "Qt Quick Application", then i tried to run and i got some message like below:
Issues window said:
[copydeploymentfolders] Error 5@Compile Output Window said:
21:14:55: Running steps for project Coba-Qt-Quick-App...
21:14:55: Configuration unchanged, skipping qmake step.
21:14:55: Starting: "C:\Qt\Qt5.2.1\Tools\mingw48_32\bin\mingw32-make.exe"
C:/Qt/Qt5.2.1/Tools/mingw48_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'D:/My Documents/PERCOBAAN QT/build-Coba-Qt-Quick-App-Desktop_Qt_5_2_1_MinGW_32bit-Debug'
Makefile.Debug:100: recipe for target 'copydeploymentfolders' failed
process_begin: CreateProcess(C:\Users\OKIEEK~1\AppData\Local\Temp\make2740-1.bat, C:\Users\OKIEEK~1\AppData\Local\Temp\make2740-1.bat, ...) failed.
make (e=5): Access is denied.mingw32-make[1]: *** [copydeploymentfolders] Error 5
mingw32-make[1]: Leaving directory 'D:/My Documents/PERCOBAAN QT/build-Coba-Qt-Quick-App-Desktop_Qt_5_2_1_MinGW_32bit-Debug'
mingw32-make: *** [debug] Error 2
makefile:34: recipe for target 'debug' failed
21:14:55: The process "C:\Qt\Qt5.2.1\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project Coba-Qt-Quick-App (kit: Desktop Qt 5.2.1 MinGW 32bit)
When executing step 'Make'
21:14:55: Elapsed time: 00:01.@I don't know what's the problem, i thought no problem happened when i created project of "Qt Widgets Application".
Please help, thanks,Spec:
Qt Creator 3.0.1
Qt 5.2.1
MinGw48
WINDOWS XP sp3 -
This morning i tried install qt ming gw on Windows 8.1 64 bit
Then i try creating "qt quick application", then run it, and i get error like this screenshot:
!http://1.bp.blogspot.com/-WKA_i2y5bew/U0M2QlKEZkI/AAAAAAAAEtc/lfGU1VSGVB4/s1600/Screenshot.jpg(error on quick application)!
I don't know what happened.
This is some message below comes from 'application output window':
@Starting E:\MAS OKIE DOCS\PERCOBAAN QT\build-untitled1-Desktop_Qt_5_2_1_MinGW_32bit-Debug\debug\untitled1.exe...
QML debugging is enabled. Only use this in a safe environment.
getProcAddress: Unable to resolve 'glBindFramebuffer'
getProcAddress: Unable to resolve 'glBindFramebufferOES'
getProcAddress: Unable to resolve 'glBindFramebufferARB'
getProcAddress: Unable to resolve 'glBindFramebufferEXT'
getProcAddress: Unable to resolve 'glGenBuffers'
getProcAddress: Unable to resolve 'glGenBuffersOES'
getProcAddress: Unable to resolve 'glGenBuffersARB'
getProcAddress: Unable to resolve 'glGenBuffersEXT'
getProcAddress: Unable to resolve 'glBindBuffer'
getProcAddress: Unable to resolve 'glBindBufferOES'
getProcAddress: Unable to resolve 'glBindBufferARB'
getProcAddress: Unable to resolve 'glBindBufferEXT'
getProcAddress: Unable to resolve 'glBufferData'
getProcAddress: Unable to resolve 'glBufferDataOES'
getProcAddress: Unable to resolve 'glBufferDataARB'
getProcAddress: Unable to resolve 'glBufferDataEXT'
getProcAddress: Unable to resolve 'glBindBuffer'
getProcAddress: Unable to resolve 'glBindBufferOES'
getProcAddress: Unable to resolve 'glBindBufferARB'
getProcAddress: Unable to resolve 'glBindBufferEXT'
getProcAddress: Unable to resolve 'glBindBuffer'
getProcAddress: Unable to resolve 'glBindBufferOES'
getProcAddress: Unable to resolve 'glBindBufferARB'
getProcAddress: Unable to resolve 'glBindBufferEXT'
getProcAddress: Unable to resolve 'glCreateProgram'
getProcAddress: Unable to resolve 'glCreateProgramARB'
getProcAddress: Unable to resolve 'glCreateProgramObject'
getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
QOpenGLShaderProgram: could not create shader program
getProcAddress: Unable to resolve 'glCreateShader'
getProcAddress: Unable to resolve 'glCreateShaderARB'
getProcAddress: Unable to resolve 'glCreateShaderObject'
getProcAddress: Unable to resolve 'glCreateShaderObjectARB'
QOpenGLShader: could not create shader
Renderer failed shader compilation:
""
E:\MAS OKIE DOCS\PERCOBAAN QT\build-untitled1-Desktop_Qt_5_2_1_MinGW_32bit-Debug\debug\untitled1.exe exited with code 255@Then, this message below comes from 'compile output window':
@05:35:42: Running steps for project untitled1...
05:35:42: Configuration unchanged, skipping qmake step.
05:35:42: Starting: "C:\Qt\Qt5.2.1\Tools\mingw48_32\bin\mingw32-make.exe"
C:/Qt/Qt5.2.1/Tools/mingw48_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'E:/MAS OKIE DOCS/PERCOBAAN QT/build-untitled1-Desktop_Qt_5_2_1_MinGW_32bit-Debug'
Copying application data...
1 File(s) copied
mingw32-make[1]: Leaving directory 'E:/MAS OKIE DOCS/PERCOBAAN QT/build-untitled1-Desktop_Qt_5_2_1_MinGW_32bit-Debug'
Copying application data...
1 File(s) copied
05:35:43: The process "C:\Qt\Qt5.2.1\Tools\mingw48_32\bin\mingw32-make.exe" exited normally.
05:35:43: Elapsed time: 00:01.@NOTE, THIS ERROR HAPPENED when i create "qt quick application" or "qt quick ui".
Everything is normal when i create "qt widget application"Below is screeshot qt quick ui error:
SPEC:
Windows 8.1 64 bit
Qt 5.2.1
Qt Creator 3.0.1 -
Just confirm,
i check on my command promt by typing 'g++ -v' to make sure that mingw is install correctly, but command promt said that g++ is not recoqnize command,i chek the path env for this , the result:
@Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.C:\Users\Radio Swiba>g++ -v
'g++' is not recognized as an internal or external command,
operable program or batch file.C:\Users\Radio Swiba>path
PATH=C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Windows\system32;C:\Wi
ndows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Pr
ogram Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Windows Kits\8.1\Wi
ndows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\C:\Users\Radio Swiba>@
actually i download and choose the version of qt qt-opensource-windows-x86-mingw48_opengl-5.2.1.exe
what happend??
any solution? -
SOLVED:
For Windows xp:
Just add this to PATH ENV , please pay attention, all variable seperated by ';'%SystemRoot%\system32; %SystemRoot%;%SystemRoot%\system32\wbem;C:\Qt\Qt5.2.1\Tools\mingw48_32\bin
For windows 8.1
Just add this to PATH ENV , please pay attention, all variable seperated by ';'
C:\Qt\Qt5.2.1\Tools\mingw48_32\bin -
Hi,
I installed qt-opensource-windows-x86-mingw48_opengl-5.2.1.exe
i'm facing the same problem. where is the PATH ENV. what is SystemRoot?
-
A. What system operation do you have?
B. What Qt do you work with? QtWidgets or QtQuick??
--- answers---
A. if you use Windows Xp, Just add this to PATH ENV , please pay attention, all variable seperated by ‘;’SystemRoot\system32; SystemRoot;SystemRoot\system32\wbem;C:\Qt\Qt5.2.1\Tools\mingw48_32\bin
How to add?? Right click on your my computer, try to search env button, then add that line,
For windows 8.1
Just add this to PATH ENV , please pay attention, all variable seperated by ‘;’
C:\Qt\Qt5.2.1\Tools\mingw48_32\binB. IF you use QtQuick later version than 1.1, you should have OPENGL enable on your VGA,
-
Thank you.
I'm using windows xp & tried QML.
Will try your suggestion and reply.