Bug 418692 - Qt Creator from distro packages lacks features present in binary version from qt.io
Summary: Qt Creator from distro packages lacks features present in binary version from...
Status: RESOLVED INTENTIONAL
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 08:03 UTC by Enmk
Modified: 2021-03-28 20:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enmk 2020-03-10 08:03:17 UTC
SUMMARY

I have installed qt creator with apt a long time ago, and after update few very important features are gone/not working properly:
* Run in terminal
* Clang code model

STEPS TO REPRODUCE (Run in terminal)
1. apt install qtcreator
2. launch qtcreator
3. create a simple hello world C/C++ application
4. Navigate to "build and run"/Run, select "Run in terminal option"
5. choose build/Run from application menu.

OBSERVED RESULT
Application pane is opened with text:
"Starting /home/enmk/proj/test/build-test-Clang_8-Debug/main ..."
No terminal window is opened anywhere on desktop, program is not launched.

EXPECTED RESULT
New teminal window with program output appears.



STEPS TO REPRODUCE (clang code model)
1. apt install qtcreator
2. qtcreator
3. create a simple hello world C/C++ application
4. choose Tools/Options from application menu, choose C++/Code model tab

OBSERVED RESULT
Part of dialog is greyed out, and the label says "The Clang code model is disabled because the corresponding plugin is not loaded".
There is no Clang Code Model plugin in the list of plugins.

EXPECTED RESULT
Dialog shows "The Clang code model is ebabled because the corresponding plugin is loaded"
Clang Code Model plugin is present in the list of plugins and works fine.




SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Kernel Version: 5.3.0-40-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 31.0 GiB of RAM


ADDITIONAL INFORMATION
Same issues are not reproducible on same version of Qt Creator installed from qt.io with online installer.

Please find more information in qt.io bugtracker:
https://bugreports.qt.io/browse/QTCREATORBUG-23705
https://bugreports.qt.io/browse/QTCREATORBUG-23704
Comment 1 Jonathan Riddell 2020-03-10 12:53:16 UTC
What's the problem with using the binary version from qt.io?
Comment 2 Enmk 2020-03-14 14:19:11 UTC
Hi! There is no problem with using binaries qt.io, and I ended using it anyway.

EXCEPT:
* qt.io binaries is not default source of applications for KDE Neon (while apt is)
* it requires qt.io login
* it bypasses the package manager

Also what is the point of having qt creator in repos if it doesn’t works as expected?
Comment 3 popov895 2020-03-14 19:16:58 UTC
I completely agree with the previous comment. ClangCodeModel plugin is too good not to be available for Qt Creator.
Comment 4 Enmk 2020-03-25 20:23:23 UTC
Well, something disturbing happened recently: I wasn't able to update Qt Creator on Mac, since "My license for this platform expired" (not exact words, but something like that). And to "Extend" that license, I had to log in with corporate email (which I did not). I imagine something like that may happen soon with Linux version too.

That means one day you might be unable to install Qt Creator from qt.io on Linux, and the (broken) package in distribution is going to be the only free (in many senses) source.
Comment 5 popov895 2020-06-07 13:21:36 UTC
Please, update Qt Creator to the latest version (current version is  4.12.2) with support for the ClangCodeModel plugin.
Comment 6 popov895 2020-11-01 10:16:49 UTC
I found that the ClangCodeModel plugin is now available for the supplied Qt Creator package, but it doesn't work for me. Am I missing something?
Comment 7 Nate Graham 2021-03-28 20:34:12 UTC
Apps from the package manager are no longer formally supported in Neon; the supported method of getting apps is to use Flatpak or Snap. Also, bugs in applications should be reported to the developers of the app. Qt Creator is developed by the Qt folks, not KDE.