Hi,

I'm trying to display the main Linphone window (file MainWindow.qml) in Qt by 
the button « Design », in order to modify this form, but without success

My development machine is under Windows, i'm using Qt 5.10.1, and i've 
downloaded the master commit of Linphone-desktop (986f5d9902a8544342...)

An error window is displayed with text : this QML file contains features which 
are not supported by Qt Quick Designer at Line: 79: Unknown component. (M300) »

The MainWindow.qml file has the line n°79 underscored in red color for 
AuthenticationNotifier : AuthenticationNotifier {

I've defined the following line in CMakeCache.txt :
QML_IMPORT_PATH:STRING=C:/xx/Repos/linphone-desktop/ui/modules/Common;C:/xx/Repos/linphone-desktop/ui/views;C:/xx/Repos/linphone-desktop/ui/scripts
It was necessary because 3 import lines at the beggining of MainWindow.qml file 
were in error :

-          import Common 1.0

-          import Utils 1.0

-          import App.Styles 1.0

I've tried by selecting « Use QML emulation layer that is built with the 
selected Qt » : it's the same problem


I have another problem : i can't generate the project linphone-qt (app-library 
is OK)
Here is the compile output :
[ 94%] Built target app-library
[ 95%] Linking CXX executable linphone.exe
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text$_ZN7QStringD1Ev[__ZN7QStringD1Ev]+0x31):
 undefined reference to `_imp___ZN10QArrayData10deallocateEPS_jj'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x76):
 undefined reference to `_imp___ZNK14QMessageLogger4infoEv'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x90):
 undefined reference to `_imp___ZN6QDebug9putStringEPK5QCharj'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xa4):
 undefined reference to `_imp___ZN6QDebugD1Ev'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xb2):
 undefined reference to `_imp___ZN12QApplication4execEv'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0xf0):
 undefined reference to `_imp___ZN11QTextStreamlsEc'
CMakeFiles\linphone-qt.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x114):
 undefined reference to `_imp___ZN6QDebugD1Ev'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x17): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x49): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x79): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0xa9): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0xd9): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x109): more 
undefined references to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE' 
follow
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x125): 
undefined reference to `_imp___ZN16QCoreApplication4selfE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x138): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x155): 
undefined reference to `_imp___ZN16QCoreApplication4selfE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x16b): 
undefined reference to 
`_imp___ZN10QQmlEngine18setObjectOwnershipEP7QObjectNS_15ObjectOwnershipE'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x19a): 
undefined reference to `_imp___ZN7QWindow5closeEv'
CMakeFiles\linphone-qt.dir/objects.a(App.cpp.obj):App.cpp:(.text+0x1a7): 
undefined reference to `_imp___ZN7QObject11deleteLaterEv'
...
What is the problem ?


Meilleures salutations
Best regards

        Frédéric CHIESI
mailto:frederic.chi...@avmup.com
http://www.avmup.com
tel : 00 33 (0)4 78 56 59 13

_______________________________________________
Linphone-users mailing list
Linphone-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to