Модель кода clang ошибка не удалось запустить программу clangbackend
The Qt is on a windows 10 installed on a mac mini with bootcamp. Don't know if that can help.
I start a project with exemples that compile but crash after so I would to correct this to be sure that are not the causes.
I start a project with examples that compile but crash after so I would correct this to be sure that are not the causes
I had that problem too. You need to change your settings of an application Output panel which is at the bottom of the screen. Build & run ---> General ---> Default for "Run in terminal" (change this option from disabled to enabled). After this qt works normally.
For me it didn't work I got the error message when it hits any breakpoint, any other sugestions?
@Claoo @Olivier69 Same issue here using QT in windows 10.
I had it working two months ago, i came back and now every time i try to debug in android:
Clang Code Model: Error: The clangbackend executable "C:\Qt\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
So i updated my android SDK, same problem.
So i did what @fadfa suggested ("run in terminal" enabled) still the same problem.
So removed spaces in my filepath, still the same problem.
In my Issues tab inside QT creator, after i try to run my app;
@javiB i checked the first error
So something went wrong in the build process i guess?
that was it, i changed the build folder to my desktop (shorter fileath names) and everything worked
Hi,
I am using Qt 5.13 on Windows and I see below error message in "General Messages" section.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
2019-11-02T22:08:35 Clang Code Model: Error: The clangbackend executable "D:\ProgramFiles\Qt\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
What is the meaning of this and how to clean?
Hi
The first ones "No winrtrunner.exe found." i have seen many times.
I think it comes if you installed WinRt Qt version but not have the visual studio installed.
Should be ok to ignore.
However, the clangbackend.exe
Sounds like it cannot load the plugin.
Try disable the code model plugin in
About -> Plugins.
uncheck and restart Creator.
Dear @mrjj ,
I unchecked and restart and receheck and restart again. Now clang error dissappered. This is OK.
But other is still alive. :(
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Running Windows Runtime device detection.
No winrtrunner.exe found.
Hi
Its unclear when these messages comes.
Check if you have the UWP Qt version installed and remove it.
via the maintenance tool.
I think its related to those but im not sure.
Hi @mrjj
My situation is below,
@Mucip
Ok so its not from WinRT in your case. It seems.
What version is your QtCreator ?
@Mucip
Hi
Same as i have installed and almost same kits
and not seeing this message.
Does it also say for a brand new defualt GUI project ?
@mrjj
I just tryed. And there isn't any message appear. Very strange. :(
Well, It seems that error/warning comes form my existing project. But why.
Edit: No. WinRT message appear still when I restart the Qt Creator. :(
@Mucip
Hi
I was also think it might be something in the .pro file ( well actually user.pro file)
When you create the new GUI project. do you select only one compiler in the kit selection `?
I was wondering if there was some left over-ish kit or anything to trigger
it trying to run the winrtrunner.exe tool.
@aha_1980
thank you !
Its an important difference as not to shoot the wrong one :)
Рекомендуем хостинг TIMEWEB
Стабильный хостинг, на котором располагается социальная сеть EVILEG. Для проектов на Django рекомендуем VDS хостинг.
Подписчики
Включил компилятор MinGW и файлы появились.
Включил компилятор Android и выдало ошибки:
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
clang++.exe: error: unknown argument: '-mthumb-interwork'
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Сдаётся мне, что всё дело в Clang. Хотя работать должно.
Также, вы настраивали комплекты сборки для Андроида? Там в Qt Creator нужно указать каталоги для SDK, NDK и т.д.
в параметры -> устройства -> android написано что настройки android в порядке, хотя на вкладке SDK Manager есть нюанс, он на фото
а можно ли через android studio скачать SDK? может так будет лучше работать?
нашел SDK тут :C:\Users\MS\AppData\Local\Android\Sdk
восклицательный знак убрался в устройствах, все прекрасно, но остаются те же ошибки, при сборке выдает теперь:
:-1: ошибка: failed to parse default search paths from compiler output
А что там в настройках самого комплекта Clang? Может там компиляторы не те указаны или ещё что-нибудь в таком роде?
А что такое комплект Clang?
Ну вот здесь например имеются компиляторы и комплекты сборки. У вас почему-то используется комплект сборки Clang, который не работает. Возможно, у вас там какие-то ошибки, также во вкладке Kits могут быть ошибки.
После использования SDK из андройд студио у меня стало так
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.
Subscribers
Включил компилятор MinGW и файлы появились.
Включил компилятор Android и выдало ошибки:
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
clang++.exe: error: unknown argument: '-mthumb-interwork'
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Сдаётся мне, что всё дело в Clang. Хотя работать должно.
Также, вы настраивали комплекты сборки для Андроида? Там в Qt Creator нужно указать каталоги для SDK, NDK и т.д.
в параметры -> устройства -> android написано что настройки android в порядке, хотя на вкладке SDK Manager есть нюанс, он на фото
а можно ли через android studio скачать SDK? может так будет лучше работать?
нашел SDK тут :C:\Users\MS\AppData\Local\Android\Sdk
восклицательный знак убрался в устройствах, все прекрасно, но остаются те же ошибки, при сборке выдает теперь:
:-1: ошибка: failed to parse default search paths from compiler output
А что там в настройках самого комплекта Clang? Может там компиляторы не те указаны или ещё что-нибудь в таком роде?
А что такое комплект Clang?
Ну вот здесь например имеются компиляторы и комплекты сборки. У вас почему-то используется комплект сборки Clang, который не работает. Возможно, у вас там какие-то ошибки, также во вкладке Kits могут быть ошибки.
После использования SDK из андройд студио у меня стало так
Рекомендуем хостинг TIMEWEB
Стабильный хостинг, на котором располагается социальная сеть EVILEG. Для проектов на Django рекомендуем VDS хостинг.
Підписчики
Включил компилятор MinGW и файлы появились.
Включил компилятор Android и выдало ошибки:
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
clang++.exe: error: unknown argument: '-mthumb-interwork'
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Project ERROR: failed to parse default search paths from compiler output
Ошибка разбора файла D:\QTProject\AndroidTest2\AndroidTest2.pro. Отмена.
Сдаётся мне, что всё дело в Clang. Хотя работать должно.
Также, вы настраивали комплекты сборки для Андроида? Там в Qt Creator нужно указать каталоги для SDK, NDK и т.д.
в параметры -> устройства -> android написано что настройки android в порядке, хотя на вкладке SDK Manager есть нюанс, он на фото
а можно ли через android studio скачать SDK? может так будет лучше работать?
нашел SDK тут :C:\Users\MS\AppData\Local\Android\Sdk
восклицательный знак убрался в устройствах, все прекрасно, но остаются те же ошибки, при сборке выдает теперь:
:-1: ошибка: failed to parse default search paths from compiler output
А что там в настройках самого комплекта Clang? Может там компиляторы не те указаны или ещё что-нибудь в таком роде?
А что такое комплект Clang?
Ну вот здесь например имеются компиляторы и комплекты сборки. У вас почему-то используется комплект сборки Clang, который не работает. Возможно, у вас там какие-то ошибки, также во вкладке Kits могут быть ошибки.
После использования SDK из андройд студио у меня стало так
Читайте также: