Results 1 to 10 of 10

Thread: copy deployment folder error

  1. #1
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: copy deployment folder error

    when i configure from QTsources folder it went with errors.
    show the errors.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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:perator==(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:perator==(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:perator==(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>

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: copy deployment folder error

    I meant these errors:
    when i try to run examples from Qt Quick it gives error copy deployment folder error
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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'

  6. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: copy deployment folder error

    Here is your problem:
    'xcopy' is not recognized as an internal or external command,
    Either you don't have xcopy, or its not in your path.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  7. #7
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: copy deployment folder error

    thanks for ur reply
    where do i copy this xcopy and to where?

  8. #8
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: copy deployment folder error

    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  9. #9
    Join Date
    Apr 2011
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: copy deployment folder error

    hi,

    thanks for ur reply.
    i solved my problem.
    i set 'path' system variable to system32.

    regards,
    hema.

  10. #10
    Join Date
    Aug 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Symbian S60 Maemo/MeeGo

    Default 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

Similar Threads

  1. dll error in deployment
    By ldynasa in forum Installation and Deployment
    Replies: 3
    Last Post: 2nd March 2011, 13:38
  2. Replies: 0
    Last Post: 13th October 2010, 04:27
  3. xp deployment error
    By ahmdsd_ostora in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2010, 16:00
  4. Replies: 1
    Last Post: 19th January 2010, 21:35
  5. Replies: 1
    Last Post: 23rd January 2007, 07:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.