copy deployment folder error
hi,
i downloaded QtSDK >>Qt creator 2.1.0,Qt 4.7.1
environmental variables-QTDIR,path,Makespec has been set to
QTDIR----C:\Qt\2010.05\qt;C:\QtSDK\QtSources\4.7.2;
path------C:\Qt\2010.05\mingw\lib;C:\Qt\2010.05\mingw\bin;C: \Qt\2010.05\qt\bin;C:\QtSDK\QtSources\4.7.2\bin;C: \QtSDK\mingw\bin;C:\QtSDK\mingw\lib;
makespec-----------win32-g++
when i configure from QTsources folder it went with errors.
when i try to run examples from Qt Quick it gives error copy deployment folder error
i uninstalled and reinstalled again and again but all my trails went ruin
do i set wrong env. variables? i dont know whats wrong
please any one help me
thanks in advance
regards,
hema
Re: copy deployment folder error
Quote:
when i configure from QTsources folder it went with errors.
show the errors.
Re: copy deployment folder error
option.h:195: error: invalid use of incomplete type 'struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'struct QString'
option.h:195: error: initializing argument 1 of 'static QString Option::fixStr
ing(QString, uchar)'
option.h: At global scope:
option.h:196: error: 'QStringList' does not name a type
In file included from project.cpp:45:
cachekeys.h:58: error: field 'string' has incomplete type
cachekeys.h:58: error: field 'pwd' has incomplete type
cachekeys.h: In constructor 'FixStringCacheKey::FixStringCacheKey(const QString&
, uchar)':
cachekeys.h:63: error: 'pwd' was not declared in this scope
cachekeys.h:63: error: invalid use of incomplete type 'struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'struct QString'
cachekeys.h:64: error: 'string' was not declared in this scope
cachekeys.h: In member function 'bool FixStringCacheKey::operator==(const FixStr
ingCacheKey&) const':
cachekeys.h:71: error: 'const struct FixStringCacheKey' has no member named 'str
ing'
cachekeys.h:71: error: 'string' was not declared in this scope
cachekeys.h:72: error: 'const struct FixStringCacheKey' has no member named 'pwd
'
cachekeys.h:72: error: 'pwd' was not declared in this scope
cachekeys.h: In member function 'uint FixStringCacheKey::hashCode() const':
cachekeys.h:76: error: 'string' was not declared in this scope
cachekeys.h:76: error: 'qHash' was not declared in this scope
cachekeys.h: At global scope:
cachekeys.h:86: error: field 'file' has incomplete type
cachekeys.h:86: error: field 'pwd' has incomplete type
cachekeys.h: In constructor 'FileInfoCacheKey::FileInfoCacheKey(const QString&)'
:
cachekeys.h:91: error: 'pwd' was not declared in this scope
cachekeys.h:91: error: invalid use of incomplete type 'struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'struct QString'
cachekeys.h:92: error: 'file' was not declared in this scope
cachekeys.h: In member function 'bool FileInfoCacheKey::operator==(const FileInf
oCacheKey&) const':
cachekeys.h:96: error: 'const struct FileInfoCacheKey' has no member named 'file
'
cachekeys.h:96: error: 'file' was not declared in this scope
cachekeys.h:97: error: 'const struct FileInfoCacheKey' has no member named 'pwd'
cachekeys.h:97: error: 'pwd' was not declared in this scope
cachekeys.h: In member function 'uint FileInfoCacheKey::hashCode() const':
cachekeys.h:101: error: 'file' was not declared in this scope
cachekeys.h: In member function 'bool FileInfoCacheKey::isRelativePath(const QSt
ring&)':
cachekeys.h:105: error: invalid use of incomplete type 'const struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'const struct QString'
cachekeys.h:109: error: 'QChar' does not name a type
cachekeys.h:110: error: 'QChar' does not name a type
cachekeys.h:111: error: 'c0' was not declared in this scope
cachekeys.h:111: error: 'QLatin1Char' was not declared in this scope
cachekeys.h:113: error: 'c1' was not declared in this scope
cachekeys.h: At global scope:
cachekeys.h:124: error: field 'in_d' has incomplete type
cachekeys.h:124: error: field 'out_d' has incomplete type
cachekeys.h:125: error: field 'file' has incomplete type
cachekeys.h:125: error: field 'pwd' has incomplete type
cachekeys.h: In constructor 'FileFixifyCacheKey::FileFixifyCacheKey(const QStrin
g&, const QString&, const QString&, uint, bool)':
cachekeys.h:132: error: 'pwd' was not declared in this scope
cachekeys.h:132: error: invalid use of incomplete type 'struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'struct QString'
cachekeys.h:133: error: 'file' was not declared in this scope
cachekeys.h:134: error: invalid use of incomplete type 'const struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'const struct QString'
cachekeys.h:135: error: 'out_d' was not declared in this scope
cachekeys.h:137: error: 'out_d' was not declared in this scope
cachekeys.h:138: error: invalid use of incomplete type 'const struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'const struct QString'
cachekeys.h:139: error: 'in_d' was not declared in this scope
cachekeys.h:139: error: invalid use of incomplete type 'struct QString'
C:\QtSDK\QtSources\4.7.2/src/corelib/global/qglobal.h:1424: error: forward decla
ration of 'struct QString'
cachekeys.h:141: error: 'in_d' was not declared in this scope
cachekeys.h: In member function 'QString FileFixifyCacheKey::toString() const':
cachekeys.h:145: error: return type 'struct QString' is incomplete
cachekeys.h:146: error: 'file' was not declared in this scope
cachekeys.h:146: error: 'in_d' was not declared in this scope
cachekeys.h:146: error: 'out_d' was not declared in this scope
cachekeys.h:146: error: 'pwd' was not declared in this scope
cachekeys.h:147: error: incomplete type 'QString' used in nested name specifier
cachekeys.h:147: error: incomplete type 'QString' used in nested name specifier
cachekeys.h: In member function 'bool FileFixifyCacheKey::operator==(const FileF
ixifyCacheKey&) const':
cachekeys.h:153: error: 'const struct FileFixifyCacheKey' has no member named 'f
ile'
cachekeys.h:153: error: 'file' was not declared in this scope
cachekeys.h:154: error: 'const struct FileFixifyCacheKey' has no member named 'i
n_d'
cachekeys.h:154: error: 'in_d' was not declared in this scope
cachekeys.h:155: error: 'const struct FileFixifyCacheKey' has no member named 'o
ut_d'
cachekeys.h:155: error: 'out_d' was not declared in this scope
cachekeys.h:156: error: 'const struct FileFixifyCacheKey' has no member named 'p
wd'
cachekeys.h:156: error: 'pwd' was not declared in this scope
cachekeys.h: In member function 'uint FileFixifyCacheKey::hashCode() const':
cachekeys.h:161: error: 'file' was not declared in this scope
cachekeys.h:161: error: 'in_d' was not declared in this scope
cachekeys.h:161: error: 'out_d' was not declared in this scope
cachekeys.h: In function 'void qmakeDeleteCacheClear_QMapStringInt(void*)':
cachekeys.h:170: error: expected type-specifier before 'QMap'
cachekeys.h:170: error: expected '>' before 'QMap'
cachekeys.h:170: error: expected '(' before 'QMap'
cachekeys.h:170: error: 'QMap' was not declared in this scope
cachekeys.h:170: error: expected primary-expression before ',' token
cachekeys.h:170: error: expected primary-expression before 'int'
cachekeys.h:170: error: expected ')' before 'int'
cachekeys.h:170: error: expected ';' before 'int'
cachekeys.h: In function 'void qmakeDeleteCacheClear_QStringList(void*)':
cachekeys.h:171: error: expected type-specifier before 'QStringList'
cachekeys.h:171: error: expected '>' before 'QStringList'
cachekeys.h:171: error: expected '(' before 'QStringList'
cachekeys.h:171: error: 'QStringList' was not declared in this scope
cachekeys.h:171: error: expected primary-expression before '>' token
cachekeys.h:171: error: expected ')' before ';' token
cachekeys.h: In function 'void qmakeDeleteCacheClear_QHashFixStringCacheKeyQStri
ng(void*)':
cachekeys.h:172: error: expected type-specifier before 'QHash'
cachekeys.h:172: error: expected '>' before 'QHash'
cachekeys.h:172: error: expected '(' before 'QHash'
cachekeys.h:172: error: 'QHash' was not declared in this scope
cachekeys.h:172: error: expected primary-expression before ',' token
In file included from project.cpp:45:
cachekeys.h:172: error: expected primary-expression before '>' token
cachekeys.h:172: error: expected primary-expression before '>' token
cachekeys.h:172: error: expected ')' before ';' token
cachekeys.h: In function 'void qmakeDeleteCacheClear_QHashFileInfoCacheKeyQFileI
nfo(void*)':
cachekeys.h:173: error: expected type-specifier before 'QHash'
cachekeys.h:173: error: expected '>' before 'QHash'
cachekeys.h:173: error: expected '(' before 'QHash'
cachekeys.h:173: error: 'QHash' was not declared in this scope
cachekeys.h:173: error: expected primary-expression before ',' token
cachekeys.h:173: error: 'QFileInfo' was not declared in this scope
cachekeys.h:173: error: expected primary-expression before '>' token
cachekeys.h:173: error: expected ')' before ';' token
cachekeys.h: In function 'void qmakeDeleteCacheClear_QHashFileFixifyCacheKeyQStr
ing(void*)':
cachekeys.h:174: error: expected type-specifier before 'QHash'
cachekeys.h:174: error: expected '>' before 'QHash'
cachekeys.h:174: error: expected '(' before 'QHash'
cachekeys.h:174: error: 'QHash' was not declared in this scope
cachekeys.h:174: error: expected primary-expression before ',' token
cachekeys.h:174: error: expected primary-expression before '>' token
cachekeys.h:174: error: expected primary-expression before '>' token
cachekeys.h:174: error: expected ')' before ';' token
cachekeys.h: In function 'void qmakeFreeCacheClear(void*)':
cachekeys.h:175: error: 'free' was not declared in this scope
In file included from project.cpp:46:
generators/metamakefile.h: At global scope:
generators/metamakefile.h:61: error: field 'name' has incomplete type
generators/metamakefile.h: In constructor 'MetaMakefileGenerator::MetaMakefileGe
nerator(QMakeProject*, const QString&, bool)':
generators/metamakefile.h:58: error: class 'MetaMakefileGenerator' does not have
any field named 'name'
project.cpp: At global scope:
project.cpp:85: error: expected constructor, destructor, or type conversion befo
re '<' token
mingw32-make: *** [project.o] Error 1
Building qmake failed, return code 2
C:\QtSDK\QtSources\4.7.2>
Re: copy deployment folder error
I meant these errors:
Quote:
when i try to run examples from Qt Quick it gives error copy deployment folder error
Re: copy deployment folder error
Running build steps for project photoviewer...
Configuration unchanged, skipping qmake step.
Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe" -w
mingw32-make: Entering directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
c:\qtsdk\simulator\qt\mingw\bin\qmake.exe -spec c:\QtSDK\Simulator\Qt\mingw\mkspecs\win32-g++ QMLJSDEBUGGER_PATH=C:/QtSDK/QtCreator/share/qtcreator/qml/qmljsdebugger -o Makefile ..\photoviewer\photoviewer.pro
mingw32-make: Leaving directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
mingw32-make: Entering directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
C:/QtSDK/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
Copying application data...
mingw32-make[1]: Leaving directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
mingw32-make: Leaving directory `C:/QtSDK/Examples/4.7/declarative/demos/photoviewer-build-simulator'
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
mingw32-make[1]: *** [copydeploymentfolders] Error 1
mingw32-make: *** [debug] Error 2
The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project photoviewer (target: Qt Simulator)
When executing build step 'Make'
Re: copy deployment folder error
Here is your problem:
Quote:
'xcopy' is not recognized as an internal or external command,
Either you don't have xcopy, or its not in your path.
Re: copy deployment folder error
thanks for ur reply
where do i copy this xcopy and to where?
Re: copy deployment folder error
Re: copy deployment folder error
hi,
thanks for ur reply.
i solved my problem.
i set 'path' system variable to system32.
regards,
hema.
Re: copy deployment folder error
hi,
i also the same problem like hema, but i still don't have the solution.
please guide me.
cheers,
devi