GithubHelp home page GithubHelp logo

Generated binding. about qtsharp HOT 18 CLOSED

ddobrev avatar ddobrev commented on May 23, 2024
Generated binding.

from qtsharp.

Comments (18)

ddobrev avatar ddobrev commented on May 23, 2024

I haven't tested wrapping Qt 5.3.1 yet. I'll try it tomorrow and let you know about the results.

On Saturday, August 2, 2014 7:57 PM, KeKl [email protected] wrote:

Is there somewhere a complete binding for testing?
I cant get it working:

  1. Download Qt 5.3.1 for Windows 32-bit (MinGW 4.8.2, OpenGL, 735 MB) form qt-project.org
  2. Install to D:\Qt\Qt5.3.1
  3. Build QtSharp -> no problem
  4. Create binding D:\QtSharp-master\QtSharp.CLI\bin\Debug\QtSharp.CLI D:\Qt\Qt5.3.1\5.3\mingw482_32\bin\qmake.exe D:\Qt\Qt5.3.1\Tools\mingw482_32\bin\mingw32-make.exe
    I got following:
    Parsing libraries...
    Parsed 'libQt5Core.a'
    Indexing library symbols...
    Parsing code...
    ignoring nonexistent directory "D:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64
    -mingw32\4.8.2\include\c++"
    ignoring nonexistent directory "D:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64
    -mingw32\4.8.2\include\c++\i686-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5\include"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.0"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.0/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.0/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.0/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.1"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.1/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.1/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.1/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.2"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.2/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.2/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.2/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.3"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.3/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.3/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.7.3/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.0"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.0/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.0/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.0/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.1"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.1/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.1/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.1/backw
    ard"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.2"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.2/x86_6
    4-w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.2/i686-
    w64-mingw32"
    ignoring nonexistent directory ".\lib\clang\3.5/../../../include/c++/4.8.2/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.0/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.0/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.0/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.1/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.1/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.1/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.2/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.2/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.2/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.3/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.3/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.7.3/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.0/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.0/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.0/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.1/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.1/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.1/include/c++/backw
    ard"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.2/include/c++"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.2/include/c++/mingw
    32"
    ignoring nonexistent directory "c:/MinGW/lib/gcc/mingw32/4.8.2/include/c++/backw
    ard"
    ignoring nonexistent directory "/usr/local/include"
    ignoring nonexistent directory ".\lib\clang\3.5../../../i686-w64-mingw32/includ
    e"
    ignoring nonexistent directory ".\lib\clang\3.5../../../x86_64-w64-mingw32/incl
    ude"
    ignoring nonexistent directory ".\lib\clang\3.5../../../include"
    ignoring nonexistent directory "/mingw/include"
    ignoring nonexistent directory "c:/mingw/include"
    ignoring nonexistent directory "/usr/include"
    #include "..." search starts here:
    #include <...> search starts here:
    D:\Qt\Qt5.3.1\Tools\mingw482_32\i686-w64-mingw32\include
    D:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64-mingw32\4.8.2\include
    D:\Qt\Qt5.3.1\5.3\mingw482_32\include
    D:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtCore
    End of search list.
    Error parsing 'QtCore'
    D:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtCore/qcompilerdetection.h(845,11): fatal
    : 'utility' file not found
    Processing code...
    Pass 'CppSharp.Passes.CleanUnitPass'
    Pass 'CppSharp.Passes.SortDeclarationsPass'
    Pass 'CppSharp.Passes.ResolveIncompleteDeclsPass'
    Pass 'CppSharp.Passes.CheckIgnoredDeclsPass'
    Pass 'CppSharp.Passes.GenerateInlinesCodePass'
    Pass 'QtSharp.CompileInlinesPass'
    g++: error: CreateProcess: No such file or directory
    mingw32-make: *** [release/QtCore-inlines.o] Error 1
    Pass 'QtSharp.GenerateEventEventsPass'
    Pass 'QtSharp.GenerateSignalEventsPass'
    Pass 'QtSharp.RemoveStaticsFromDerivedTypesPass'
    Pass 'CppSharp.Passes.FindSymbolsPass'
    Pass 'CppSharp.Passes.MoveOperatorToClassPass'
    Pass 'CppSharp.Passes.MoveFunctionToClassPass'
    Pass 'CppSharp.Passes.CheckAmbiguousFunctions'
    Pass 'CppSharp.Passes.CheckOperatorsOverloadsPass'
    Pass 'CppSharp.Passes.CheckVirtualOverrideReturnCovariance'
    Pass 'CppSharp.Passes.CheckAbiParameters'
    Pass 'CppSharp.Passes.FieldToPropertyPass'
    Pass 'CppSharp.Passes.CleanInvalidDeclNamesPass'
    Pass 'CppSharp.Passes.CheckIgnoredDeclsPass'
    Pass 'CppSharp.Passes.CheckFlagEnumsPass'
    Pass 'CppSharp.Passes.CheckDuplicatedNamesPass'
    Pass 'CppSharp.Passes.HandleDefaultParamValuesPass'
    Pass 'CppSharp.Passes.GenerateAbstractImplementationsPass'
    Pass 'CppSharp.Passes.MultipleInheritancePass'
    Pass 'CppSharp.Passes.ParamTypeToInterfacePass'
    Pass 'CppSharp.Passes.CheckVTableComponentsPass'
    Pass 'CppSharp.Passes.GetterSetterToPropertyAdvancedPass'
    Generating code...
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(5,31) : error CS0246: D
    er Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine U
    sing-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\DynamicQObject.cs(7,35) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventArgs.cs(6,51) : error CS0246: Der
    Typ- oder Namespacename 'QEvent' konnte nicht gefunden werden. (Fehlt eine Using
    -Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(23,58) : error CS0246:
    Der Typ- oder Namespacename 'QEvent' konnte nicht gefunden werden. (Fehlt eine U
    sing-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventArgs.cs(8,33) : error CS0246: Der
    Typ- oder Namespacename 'QEvent' konnte nicht gefunden werden. (Fehlt eine Using
    -Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventArgs.cs(13,22) : error CS0246: Der
    Typ- oder Namespacename 'QEvent' konnte nicht gefunden werden. (Fehlt eine Usin
    g-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(7,22) : error CS0246: D
    er Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine U
    sing-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(10,24) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(28,24) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(39,36) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\QEventHandler.cs(39,50) : error CS0246:
    Der Typ- oder Namespacename 'QEvent' konnte nicht gefunden werden. (Fehlt eine U
    sing-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\DynamicQObject.cs(11,31) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\DynamicQObject.cs(15,47) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\DynamicQObject.cs(23,43) : error CS0246:
    Der Typ- oder Namespacename 'QObject' konnte nicht gefunden werden. (Fehlt eine
    Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\DynamicQObject.cs(36,48) : error CS0246:
    Der Typ- oder Namespacename 'QMetaObject' konnte nicht gefunden werden. (Fehlt
    eine Using-Direktive oder ein Assemblyverweis?)
    d:\QtSharp-master\QtSharp.CLI\bin\Debug\MarshalQString.cs(240,22) : error CS0246
    : Der Typ- oder Namespacename 'QTypedArrayData' konnte nicht gefunden werden. (F
    ehlt eine Using-Direktive oder ein Assemblyverweis?)
    Do I have to install another qt? Sorry Im new to qt and cppsharp/qtsharp.

    Reply to this email directly or view it on GitHub.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Did you tried it?

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

@KeKl I am really sorry about this delay. I had to fix numerous issues caused by the necessary migration to C++#'s new parser and I wasn't able to complete it until today. Please try running the generator now and let me know if the problems have been resolved.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Thank you very much. I like this project.

Now if I try to compile the qtsharp project I get:
the type or namespace 'Parser' does not exists in the namespace 'CppSharp'...

Is there an assembly missing? Sorry I dont know much about CppSharp.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

@KeKl Apologies again, my mistake. Please update the code and try again.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

I think the assembly CppSharp.Parser.CLI is still missing.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

@KeKl Please update and try again. I am sorry about this mess but since C++# itself is still in development, I am forced to directly refer to its code over here for easier debugging. I cannot, however, commit it this way because of some peculiarities in C++#'s structure.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

@ddobrev The solution now works. Thanks.

Try to generate the bindings end with an exception:

error: expected expression
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\istream(1143,3):
error: expected ';' after top level declarator
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\istream(1145,15):
error: 'inline' can only appear on functions
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\istream(1146,2):
error: redefinition of 'CLRCALL_OR_CDECL'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\istream(1146,2):
error: declaration of reference variable '__CLRCALL_OR_CDECL' requires an initia
lizer
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\istream(1146,20):
error: expected ';' after top level declarator
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(455,36):
error: 'rebind' following the 'template' keyword does not refer to a template
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(705,28):
error: no type named 'value_type' in 'std::_String_alloc<false, std::_String_bas
e_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(706,28):
error: no type named 'size_type' in 'std::_String_alloc<false, std::_String_base
_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(707,28):
error: no type named 'difference_type' in 'std::_String_alloc<false, std::_Strin
g_base_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(708,28):
error: no type named 'pointer' in 'std::_String_alloc<false, std::_String_base_t
ypes<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(709,28):
error: no type named 'const_pointer' in 'std::_String_alloc<false, std::String
base_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(710,28):
error: no type named 'reference' in 'std::_String_alloc<false, std::_String_base
_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(711,28):
error: no type named 'const_reference' in 'std::_String_alloc<false, std::_Strin
g_base_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(713,28):
error: no type named 'iterator' in 'std::_String_alloc<false, std::String_base
types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(714,28):
error: no type named 'const_iterator' in 'std::_String_alloc<false, std::_String
_base_types<wchar_t, std::allocator<wchar_t> > >'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(876,2): e
rror: multiple overloads of 'basic_string' instantiate to the same signature 'vo
id (const_iterator, const_iterator) __attribute
((thiscall))'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1117,8):
error: multiple overloads of 'append' instantiate to the same signature '_Myt &(
const_iterator, const_iterator) attribute((thiscall))'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1198,8):
error: multiple overloads of 'assign' instantiate to the same signature '_Myt &(
const_iterator, const_iterator) attribute((thiscall))'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1300,11):
error: functions that differ only in their return type cannot be overloaded
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1325,11):
error: multiple overloads of 'insert' instantiate to the same signature 'iterat
or (const_iterator, const_iterator, const_iterator) attribute((thiscall))'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1357,11):
error: functions that differ only in their return type cannot be overloaded
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xstring(1364,11):
error: functions that differ only in their return type cannot be overloaded
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(487,23): err
or: template argument for template type parameter must be a type; did you forget
'typename'?
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(487,19): err
or: too many template arguments for class template '_If'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(496,17): err
or: expected a qualified name after 'typename'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(496,21): err
or: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(572,16): err
or: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(705,16): err
or: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\list(1093,9): err
or: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(449,23): e
rror: template argument for template type parameter must be a type; did you forg
et 'typename'?
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(449,19): e
rror: too many template arguments for class template '_If'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(457,40): e
rror: expected a qualified name after 'typename'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(457,44): e
rror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(943,11): e
rror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(1911,17):
error: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2357,12):
error: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2321,5): e
rror: member initializer '_Myvec' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2328,5): e
rror: member initializer '_Myvec' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2335,5): e
rror: member initializer '_Myvec' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2342,5): e
rror: member initializer '_Myvec' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2350,5): e
rror: member initializer '_Myvec' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vector(2555,11):
error: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(532,23): er
ror: template argument for template type parameter must be a type; did you forge
t 'typename'?
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(532,19): er
ror: too many template arguments for class template '_If'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(541,17): er
ror: expected a qualified name after 'typename'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(541,21): er
ror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(647,16): er
ror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(776,16): er
ror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1052,23): e
rror: template argument for template type parameter must be a type; did you forg
et 'typename'?
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1052,19): e
rror: too many template arguments for class template '_If'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1054,32): e
rror: expected a qualified name after 'typename'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1054,36): e
rror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1056,32): e
rror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1059,15): e
rror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1060,15): e
rror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1147,2): er
ror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1165,4): er
ror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1165,15): e
rror: expected a qualified name after 'typename'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1182,3): er
ror: use of class template 'iterator' requires template arguments
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xtree(1190,10): e
rror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(37,8): erro
r: template argument for template type parameter must be a type; did you forget
'typename'?
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(37,4): erro
r: too many template arguments for class template '_If'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(40,5): erro
r: expected class name
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(140,40): er
ror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(412,32): er
ror: expected ';' at end of declaration list
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(181,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(188,5): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(196,34): er
ror: member initializer '_Myfirst' does not name a non-static data member or bas
e class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(207,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(214,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(222,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(232,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(245,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(256,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(270,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(316,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(324,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(336,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(350,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(379,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(391,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(406,4): err
or: member initializer '_Myfirst' does not name a non-static data member or base
class
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(512,28): er
ror: expected ';' at end of declaration
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(513,4): err
or: C++ requires a type specifier for all declarations
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(513,30): er
ror: use of undeclared identifier '_Left'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(513,41): er
ror: use of undeclared identifier '_Right'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(513,50): er
ror: expected ';' after top level declarator
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(616,24): er
ror: expected ';' at end of declaration
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(616,25): er
ror: C++ requires a type specifier for all declarations
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(618,2): err
or: expected expression
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(620,3): err
or: expected ';' after top level declarator
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(644,9): err
or: explicit specialization of non-template struct '_Make_arg_idx1'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(641,20): er
ror: template parameter pack must be the last template parameter
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(645,20): er
ror: template argument for non-type template parameter must be an expression
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(651,20): er
ror: template argument for non-type template parameter must be an expression
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(744,5): err
or: member initializer 'first' does not name a non-static data member or base cl
ass
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(754,26): er
ror: C++ requires a type specifier for all declarations
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(756,28): er
ror: expected ';' at end of declaration
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(757,43): er
ror: use of undeclared identifier '_Ty1'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(757,4): err
or: unknown type name '_NOEXCEPT_OP'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(757,43): er
ror: use of undeclared identifier '_Ty1'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(758,5): err
or: expected ')'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(757,64): er
ror: definition or redeclaration of 'value' cannot name the global scope
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(759,3): err
or: expected ';' after top level declarator
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(760,27): er
ror: use of undeclared identifier '_Types1'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(759,10): er
ror: C++ requires a type specifier for all declarations
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(759,17): er
ror: C++ requires a type specifier for all declarations
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(760,27): er
ror: use of undeclared identifier '_Types1'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(760,40): er
ror: parameter declarator cannot be qualified
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(761,27): er
ror: use of undeclared identifier '_Types2'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(761,40): er
ror: parameter declarator cannot be qualified
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(761,40): er
ror: redefinition of parameter 'type'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\tuple(759,5): err
or: C++ requires a type specifier for all declarations
C:/Qt/Qt5.3.1/5.3/mingw482_32/include\QtCore/qbitarray.h(64,45): error: no match
ing function for call to 'move'
ignoring nonexistent directory "C:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64
-mingw32\4.8.2\include\c++"
ignoring nonexistent directory "C:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64
-mingw32\4.8.2\include\c++\i686-w64-mingw32"
ignoring nonexistent directory ".\lib\clang\3.5.0\include"
ignoring nonexistent directory "C:\Program Files (x86)\Microsoft SDKs\Windows\v8
.1A\include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory ".\lib\clang\3.5.0\include"
ignoring nonexistent directory "/usr/include"
#include "..." search starts here:
#include <...> search starts here:
C:/Qt/Qt5.3.1/5.3/mingw482_32/include
C:/Qt/Qt5.3.1/5.3/mingw482_32/include\QtCore
C:\Qt\Qt5.3.1\Tools\mingw482_32\i686-w64-mingw32\include
C:\Qt\Qt5.3.1\Tools\mingw482_32\lib\gcc\i686-w64-mingw32\4.8.2\include
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include
End of search list.
Processing code...

Ausnahmefehler: System.NullReferenceException: Der Objektverweis wurde nicht auf
eine Objektinstanz festgelegt.
bei QtSharp.QtSharp.Preprocess(Driver driver, ASTContext lib) in d:\QtSharp\Q
tSharp\QtSharp.cs:Zeile 74.
bei CppSharp.ConsoleDriver.Run(ILibrary library)
bei QtSharp.CLI.Program.Main(String[] args) in d:\QtSharp\QtSharp.CLI\Program
.cs:Zeile 73.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

I have Qt 5.2.1 installed locally but I'll upgrade to 5.3.1 and try as soon as possible. I doubt I'll manage to do so today, though.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Have you already been able to fix it?

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

I had just installed Qt 5.3.1 when I got your e-mail. I've pushed some changes that enable it to be wrapped.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Sorry, I still get an error if I try to create the bindings.
Did you get it working with your installed qt framework?

Where can I get the source of the old qyoto?

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

What error do you get?
This is Qyoto's web page - https://techbase.kde.org/Development/Languages/Qyoto . It has source and downloads. Please do not contact me about problems with it, Qyoto has been long obsoleted and so has SMOKE.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

I post the error when I´m at home.

Yes I know but I will look at the type-maps of the qt-types. I know this site, but if I try to browse the source code I get an removed-error: "The page you were trying to access doesn't exist or has been removed."

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

You're right, their repositories are more broken than usual. I think I have a copy of Qyoto's code somewhere still, I'll send it to you as soon as I find it.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Ausnahmefehler: System.InvalidOperationException: Die Sequenz enthält kein übere
instimmendes Element.
bei System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predic
ate)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.InvokeProperty(Declaration
method, IEnumerable`1 marshals)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.GenerateVTableManagedCall(M
ethod method)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.GenerateVTableMethodDelegat
es(Class class, Method method)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.GenerateVTable(Class class)

bei CppSharp.Generators.CSharp.CSharpTextTemplate.GenerateClass(Class class)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.GenerateDeclContext(Declara
tionContext context)
bei CppSharp.Generators.CSharp.CSharpTextTemplate.Process()
bei CppSharp.Generators.Generator.GenerateSingleTemplate(IEnumerable1 units, ICollection1 outputs)
bei CppSharp.Generators.Generator.Generate()
bei CppSharp.Driver.GenerateCode()
bei CppSharp.ConsoleDriver.Run(ILibrary library)
bei QtSharp.CLI.Program.Main(String[] args) in d:\QtSharp\QtSharp.CLI\Program
.cs:Zeile 73.

from qtsharp.

ddobrev avatar ddobrev commented on May 23, 2024

Ensure the accompanying DLL for inlines is correctly built. I've added an instruction in the README - you need to add a certain directory to your PATH. If it doesn't help, please debug the CompileInlinesPass class and see what error you get in the accordingly named string variable.

from qtsharp.

KeKl avatar KeKl commented on May 23, 2024

Thank you. It works!

from qtsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.