Unsolved qt 5.8 menus example activeqt direct compilation failed
-
This post is deleted! -
Hi and welcome to devnet,
Where did you install Qt ?
What version of Windows are you running ?
-
Win 10 ,Qt Creator 4.2.1 (mingw53_32)
-
@Tong
Hi Are you trying anything ActiveX on android ?
http://doc.qt.io/qt-5/activeqt-activeqt-menus-example.htmlIts Windows only.
-
@mrjj thanks! i know, i using Qt Creator 4.2.1 open the example of 'Menus Example (ActiveQt)', nothing done, direct compilation failed. ( i seleced Build&Run:esktop_Qt_5_8_0_MinGW_32 bit )
-
@Tong
ok
its just that your first post says
qt-opensource-windows-x86-android-5.8.0.exe
which is not for desktop.Can you create default GUI project and run it ?
( File-> New Project -> Qt -> widgets app)Also, did you read the docs for sample. it says :
"To build the example you must first build the QAxServer library." -
@mrjj qt-opensource-windows-x86-android-5.8.0.exe can write two kinds of windows and android app, just windows app is compiled with the MinGW。Can you create default GUI project and run it ?
( File-> New Project -> Qt -> widgets app) this is no problem. -
@Tong
Ok. super so toolchain works.
Ok so its a Metro/modern apps. Not a "real" application for Desktop.
Im not sure Metro apps supports COM. Never used any.
Do you know for a fact that ActiveX/Com works in Metro/Modern ?Maybe its the
"To build the example you must first build the QAxServer library."
part you are missing. -
Update:
I tried the sample and got same error.
so im pretty sure the stuff doc says should be done first is the reason for this error :) -
@mrjj
i using windows 10 . if using Qt visual studio 2015 tool, create "Qt ActiveQT Server"
and it's able run it. but Failed to build'Menus Example (ActiveQt)" using Qt Creator 4.2.1 -
@Tong
Creator is just an editor. It can use any compiler. mingw/visual studio.
Are you using visual studio compiler also with Creator ?If it works with " Qt visual studio 2015 tool" it should work the same in Creator if you use
same compiler.