Jan,

Thanks. Using your patch I was able to get cmake to work. However, more issues...

Can't build with msbuild. Can't build with Visual Studio.

Details below.

Robin
--
Robin Rowe
Project Manager
CinePaint.org
Beverly Hills, California
www.cinepaint.org


C:\Qt\trojita\trojita-master\trojita-master\release>msbuild trojita.sln
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34011]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
Build started 2/21/2014 12:49:09 PM.
Project "C:\Qt\trojita\trojita-master\trojita-master\release\trojita.sln" on no
de 1 (default targets).
C:\Qt\trojita\trojita-master\trojita-master\release\trojita.sln.metaproj : error MSB4126: The specified solution configuration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Qt\trojita\trojita-master\trojita-master\release\trojita.sln] Done Building Project "C:\Qt\trojita\trojita-master\trojita-master\release\trojita.sln" (default targets) -- FAILED.


-----------------

In Visual Studio, build solution:



9>------ Build started: Project: Common, Configuration: Debug Win32 ------
6> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt 6> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date.
5>  Generating moc_qwwsmtpclient.cpp
5> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt
6>  qstandardpaths.cpp
7>  Generating moc_AddressbookPlugin.cpp
7>  Generating moc_PasswordPlugin.cpp
5> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date.
7>  Generating moc_PluginJob.cpp
7> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt 7> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date.
9>  Generating moc_DeleteAfter.cpp
9>  Generating moc_FileLogger.cpp
8>  Generating moc_AbookAddressbook.cpp
8>  Generating moc_be-contacts.cpp
5>  qwwsmtpclient.cpp
9> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt
4>  Generating moc_DeletionWatcher.cpp
4>  Generating moc_FakeSocket.cpp
4>  Generating moc_IODeviceSocket.cpp
4>  Generating moc_Socket.cpp
4>  Generating moc_SocketFactory.cpp
8> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt 9> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date. 4> Building Custom Rule C:/Qt/trojita/trojita-master/trojita-master/CMakeLists.txt 8> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date.
7>  AddressbookPlugin.cpp
8>  Generating ui_be-contacts.h
4> CMake does not need to re-run because C:\Qt\trojita\trojita-master\trojita-master\release\CMakeFiles\generate.stamp is up-to-date.
9>  Application.cpp
8>  Generating ui_onecontact.h
4>  DeletionWatcher.cpp
8>  AbookAddressbook.cpp
6>  qmimedatabase.cpp
5>c:\qt\trojita\trojita-master\trojita-master\src\qwwsmtpclient\qwwsmtpclient.h(90): error C2065: 'QSslError' : undeclared identifier 5>c:\qt\trojita\trojita-master\trojita-master\src\qwwsmtpclient\qwwsmtpclient.h(90): error C2923: 'QList' : 'QSslError' is not a valid template type argument for parameter 'T' 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(66): error C2143: syntax error : missing ';' before '*' 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(66): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(141): error C2065: 'socket' : undeclared identifier 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(141): error C2227: left of '->errorString' must point to class/struct/union/generic type
5>          type is 'unknown-type'
5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(141): error C2660: 'QwwSmtpClient::socketError' : function does not take 1 arguments 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(148): error C2065: 'socket' : undeclared identifier 5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(148): error C2227: left of '->canReadLine' must point to class/struct/union/generic type
5>          type is 'unknown-type'
5>..\src\qwwsmtpclient\qwwsmtpclient.cpp(148): fatal error C1903: unable to recover from previous error(s); stopping compilation
7>  PasswordPlugin.cpp
5>  qwwsmtpclient_automoc.cpp
5>  Generating Code...
9>  ConnectionId.cpp
9>  DeleteAfter.cpp
4>  FakeSocket.cpp
7>  PluginJob.cpp
8>  be-contacts.cpp
9>  FileLogger.cpp
4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(67): error C2065: 'QSslCertificate' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(67): error C2923: 'QList' : 'QSslCertificate' is not a valid template type argument for parameter 'T' 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(70): error C2065: 'QSslError' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(70): error C2923: 'QList' : 'QSslError' is not a valid template type argument for parameter 'T'
4>  IODeviceSocket.cpp
6>  qmimeglobpattern.cpp
7>  PluginManager.cpp
9>  MetaTypes.cpp
4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(67): error C2065: 'QSslCertificate' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(67): error C2923: 'QList' : 'QSslCertificate' is not a valid template type argument for parameter 'T' 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(70): error C2065: 'QSslError' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(70): error C2923: 'QList' : 'QSslError' is not a valid template type argument for parameter 'T' 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(92): error C2061: syntax error : identifier 'QSslSocket' 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(94): error C2065: 'QSslCertificate' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(94): error C2923: 'QList' : 'QSslCertificate' is not a valid template type argument for parameter 'T' 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(95): error C2065: 'QSslError' : undeclared identifier 4>c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(95): error C2923: 'QList' : 'QSslError' is not a valid template type argument for parameter 'T' 4>..\src\Streams\IODeviceSocket.cpp(98): error C2065: 'QSslSocket' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(98): error C2065: 'sock' : undeclared identifier
4>..\src\Streams\IODeviceSocket.cpp(98): error C2059: syntax error : '>'
4>..\src\Streams\IODeviceSocket.cpp(98): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QWeakPointer<X> &)' : could not deduce template argument for 'const QWeakPointer<X> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(885) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(98): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QSharedPointer<T> &)' : could not deduce template argument for 'const QSharedPointer<T> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(879) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(98): error C2783: 'T qobject_cast(const QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(384) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(98): error C2783: 'T qobject_cast(QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(375) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(99): error C2065: 'sock' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(105): error C2065: 'sock' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(105): error C2227: left of '->startClientEncryption' must point to class/struct/union/generic type
4>          type is 'unknown-type'
4>..\src\Streams\IODeviceSocket.cpp(216): error C2065: 'QSslSocket' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(216): error C2065: 'sock' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(216): error C2059: syntax error : 'const' 4>..\src\Streams\IODeviceSocket.cpp(217): error C2259: 'Streams::IODeviceSocket' : cannot instantiate abstract class
4>          due to following members:
4>          'bool Streams::IODeviceSocket::isDead(void)' : is abstract
4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(51) : see declaration of 'Streams::IODeviceSocket::isDead'
4>          'void Streams::Socket::close(void)' : is abstract
4> c:\qt\trojita\trojita-master\trojita-master\src\streams\Socket.h(76) : see declaration of 'Streams::Socket::close' 4> 'void Streams::IODeviceSocket::handleStateChanged(void)' : is abstract 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(53) : see declaration of 'Streams::IODeviceSocket::handleStateChanged'
4>          'void Streams::IODeviceSocket::delayedStart(void)' : is abstract
4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(54) : see declaration of 'Streams::IODeviceSocket::delayedStart' 4>..\src\Streams\IODeviceSocket.cpp(217): error C2512: 'Streams::IODeviceSocket' : no appropriate default constructor available 4>..\src\Streams\IODeviceSocket.cpp(217): error C2065: 'startEncrypted' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(217): error C2065: 'host' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(217): error C2065: 'port' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(218): error C2448: 'port' : function-style initializer appears to be a function definition 4>..\src\Streams\IODeviceSocket.cpp(247): error C2065: 'QSslSocket' : undeclared identifier
4>..\src\Streams\IODeviceSocket.cpp(247): error C2059: syntax error : '>'
4>..\src\Streams\IODeviceSocket.cpp(247): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QWeakPointer<X> &)' : could not deduce template argument for 'const QWeakPointer<X> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(885) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(247): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QSharedPointer<T> &)' : could not deduce template argument for 'const QSharedPointer<T> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(879) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(247): error C2783: 'T qobject_cast(const QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(384) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(247): error C2783: 'T qobject_cast(QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(375) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(248): error C2675: unary '!' : 'Streams::IODeviceSocket' does not define this operator or a conversion to a type acceptable to the predefined operator 4>..\src\Streams\IODeviceSocket.cpp(249): error C2819: type 'Streams::IODeviceSocket' does not have an overloaded member 'operator ->' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket'
4>          did you intend to use '.' instead?
4>..\src\Streams\IODeviceSocket.cpp(249): error C2039: 'abort' : is not a member of 'Streams::IODeviceSocket' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket' 4>..\src\Streams\IODeviceSocket.cpp(307): error C2065: 'QSslSocket' : undeclared identifier
4>..\src\Streams\IODeviceSocket.cpp(307): error C2059: syntax error : '>'
4>..\src\Streams\IODeviceSocket.cpp(307): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QWeakPointer<X> &)' : could not deduce template argument for 'const QWeakPointer<X> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(885) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(307): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QSharedPointer<T> &)' : could not deduce template argument for 'const QSharedPointer<T> &' from 'QIODevice *' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(879) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(307): error C2783: 'T qobject_cast(const QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(384) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(307): error C2783: 'T qobject_cast(QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(375) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(308): error C2675: unary '!' : 'Streams::IODeviceSocket' does not define this operator or a conversion to a type acceptable to the predefined operator 4>..\src\Streams\IODeviceSocket.cpp(310): error C2819: type 'Streams::IODeviceSocket' does not have an overloaded member 'operator ->' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket'
4>          did you intend to use '.' instead?
4>..\src\Streams\IODeviceSocket.cpp(310): error C2039: 'connectToHostEncrypted' : is not a member of 'Streams::IODeviceSocket' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket' 4>..\src\Streams\IODeviceSocket.cpp(312): error C2819: type 'Streams::IODeviceSocket' does not have an overloaded member 'operator ->' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket'
4>          did you intend to use '.' instead?
4>..\src\Streams\IODeviceSocket.cpp(312): error C2039: 'connectToHost' : is not a member of 'Streams::IODeviceSocket' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket' 4>..\src\Streams\IODeviceSocket.cpp(315): error C2065: 'QSslCertificate' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(315): error C2923: 'QList' : 'QSslCertificate' is not a valid template type argument for parameter 'T' 4>..\src\Streams\IODeviceSocket.cpp(316): error C2079: 'Streams::SslTlsSocket::sslChain' uses undefined class 'QList' 4>..\src\Streams\IODeviceSocket.cpp(317): error C2065: 'QSslSocket' : undeclared identifier
4>..\src\Streams\IODeviceSocket.cpp(317): error C2059: syntax error : '>'
4>..\src\Streams\IODeviceSocket.cpp(317): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QWeakPointer<X> &)' : could not deduce template argument for 'const QWeakPointer<X> &' from 'QIODevice *const ' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(885) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(317): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QSharedPointer<T> &)' : could not deduce template argument for 'const QSharedPointer<T> &' from 'QIODevice *const ' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(879) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(317): error C2783: 'T qobject_cast(const QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(384) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(317): error C2783: 'T qobject_cast(QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(375) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(318): error C2675: unary '!' : 'Streams::IODeviceSocket' does not define this operator or a conversion to a type acceptable to the predefined operator 4>..\src\Streams\IODeviceSocket.cpp(319): error C2819: type 'Streams::IODeviceSocket' does not have an overloaded member 'operator ->' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket'
4>          did you intend to use '.' instead?
4>..\src\Streams\IODeviceSocket.cpp(319): error C2039: 'peerCertificateChain' : is not a member of 'Streams::IODeviceSocket' 4> c:\qt\trojita\trojita-master\trojita-master\src\streams\IODeviceSocket.h(38) : see declaration of 'Streams::IODeviceSocket' 4>..\src\Streams\IODeviceSocket.cpp(322): error C2065: 'QSslError' : undeclared identifier 4>..\src\Streams\IODeviceSocket.cpp(322): error C2923: 'QList' : 'QSslError' is not a valid template type argument for parameter 'T' 4>..\src\Streams\IODeviceSocket.cpp(323): error C2079: 'Streams::SslTlsSocket::sslErrors' uses undefined class 'QList' 4>..\src\Streams\IODeviceSocket.cpp(324): error C2065: 'QSslSocket' : undeclared identifier
4>..\src\Streams\IODeviceSocket.cpp(324): error C2059: syntax error : '>'
4>..\src\Streams\IODeviceSocket.cpp(324): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QWeakPointer<X> &)' : could not deduce template argument for 'const QWeakPointer<X> &' from 'QIODevice *const ' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(885) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(324): error C2784: 'QSharedPointer<QtSharedPointer::RemovePointer<X>::Type> qobject_cast(const QSharedPointer<T> &)' : could not deduce template argument for 'const QSharedPointer<T> &' from 'QIODevice *const ' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/tools/qsharedpointer_impl.h(879) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(324): error C2783: 'T qobject_cast(const QObject *)' : could not deduce template argument for 'T' 4> c:\qt\4.8.5\include\qtcore\../../src/corelib/kernel/qobject.h(384) : see declaration of 'qobject_cast' 4>..\src\Streams\IODeviceSocket.cpp(324): error C2783: 'T qobject_cast(QObject *)' : could not deduce template argument for 'T'

[ Many more errors, over 600 ]




Reply via email to