Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt Creator integration #15848

Open
3 tasks done
kitswas opened this issue Dec 31, 2022 · 3 comments
Open
3 tasks done

Qt Creator integration #15848

kitswas opened this issue Dec 31, 2022 · 3 comments
Labels
integrations Issues related to editor and shell integrations that ship in Desktop

Comments

@kitswas
Copy link
Contributor

kitswas commented Dec 31, 2022

The feature request

Qt Creator is missing from the list of external editors.

The checklist:

  • the editor supports opening a directory, not just a file
    qtcreator . works.
  • the editor is installed by the user, so there is a reliable way to find it on the user's machine
    Yes, yes, the installation is time and bandwidth consuming. 😜
  • it comes with a command-line interface that can be launched by Desktop
    It has a CLI.

Proposed solution

Add Qt Creator as a supported editor.

Additional context

image

@steveward steveward added the integrations Issues related to editor and shell integrations that ship in Desktop label Jan 10, 2023
@steveward
Copy link
Member

Thanks for the issue. At this time GitHub Desktop only supports editors that have been specifically integrated into the application. You can find the details of how this works along with the supported editors here:

https://github.com/desktop/desktop/blob/development/docs/technical/editor-integration.md

We happily accept pull requests to integrate new editors.

@kitswas
Copy link
Contributor Author

kitswas commented Jan 17, 2023

May we have the 'help wanted' label on this?

I tried but couldn't locate the entries for Qt Creator in the Windows registry.
And unfortunately, I cannot afford to allocate more time to this.

@kitswas
Copy link
Contributor Author

kitswas commented Feb 8, 2024

Qt Creator is mostly installed through the Qt Maintenance Tool and does not usually have a separate Uninstall Key as suggested in https://github.com/desktop/desktop/blob/development/docs/technical/editor-integration.md#step-1-find-the-install-location.

The following registry keys contain info about Qt Creator.

HKCU\Software\Classes\.c	
HKCU\Software\Classes\.c	
HKCU\Software\Classes\.c++	
HKCU\Software\Classes\.c++\OpenWithProgIds	
HKCU\Software\Classes\.c\OpenWithProgIds	
HKCU\Software\Classes\.cc	
HKCU\Software\Classes\.cc\OpenWithProgIds	
HKCU\Software\Classes\.cp	
HKCU\Software\Classes\.cp\OpenWithProgIds	
HKCU\Software\Classes\.cpp	
HKCU\Software\Classes\.cpp	
HKCU\Software\Classes\.cpp\OpenWithProgIds	
HKCU\Software\Classes\.cxx	
HKCU\Software\Classes\.cxx	
HKCU\Software\Classes\.cxx\OpenWithProgIds	
HKCU\Software\Classes\.h	
HKCU\Software\Classes\.h	
HKCU\Software\Classes\.h++	
HKCU\Software\Classes\.h++\OpenWithProgIds	
HKCU\Software\Classes\.h\OpenWithProgIds	
HKCU\Software\Classes\.hh	
HKCU\Software\Classes\.hh\OpenWithProgIds	
HKCU\Software\Classes\.hpp	
HKCU\Software\Classes\.hpp	
HKCU\Software\Classes\.hpp\OpenWithProgIds	
HKCU\Software\Classes\.hxx	
HKCU\Software\Classes\.hxx	
HKCU\Software\Classes\.hxx\OpenWithProgIds	
HKCU\Software\Classes\.pri	
HKCU\Software\Classes\.pri\OpenWithProgIds	
HKCU\Software\Classes\.pro	
HKCU\Software\Classes\.pro\OpenWithProgIds	
HKCU\Software\Classes\.qbs	
HKCU\Software\Classes\.qbs\OpenWithProgIds	
HKCU\Software\Classes\.qml	
HKCU\Software\Classes\.qml\OpenWithProgIds	
HKCU\Software\Classes\.qs	
HKCU\Software\Classes\.qs\OpenWithProgIds	
HKCU\Software\Classes\.ui	
HKCU\Software\Classes\.ui\OpenWithProgIds	
HKCU\Software\Classes\Applications\QtProject.QtCreator.c++\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.c\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.cc\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.cp\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.cpp\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.cxx\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.h++\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.h\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.hh\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.hpp\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.hxx\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.pri\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.pro\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.qbs\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.qml\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.qs\shell\Open\Command	
HKCU\Software\Classes\Applications\QtProject.QtCreator.ui\shell\Open\Command	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\0\48\0	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\2\0\0\1\1\8	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\2\10	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\2\10\1\1	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\3	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\3\16\0	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\3\16\0\0	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\3\16\1	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU\1\3\16\1\0	
HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache	
HKCU\Software\Classes\QtProject.QtCreator.c	
HKCU\Software\Classes\QtProject.QtCreator.c++	
HKCU\Software\Classes\QtProject.QtCreator.c++\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.c++\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.c\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.c\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.cc	
HKCU\Software\Classes\QtProject.QtCreator.cc\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.cc\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.cp	
HKCU\Software\Classes\QtProject.QtCreator.cp\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.cp\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.cpp	
HKCU\Software\Classes\QtProject.QtCreator.cpp\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.cpp\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.cxx	
HKCU\Software\Classes\QtProject.QtCreator.cxx\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.cxx\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.h	
HKCU\Software\Classes\QtProject.QtCreator.h++	
HKCU\Software\Classes\QtProject.QtCreator.h++\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.h++\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.h\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.h\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.hh	
HKCU\Software\Classes\QtProject.QtCreator.hh\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.hh\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.hpp	
HKCU\Software\Classes\QtProject.QtCreator.hpp\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.hpp\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.hxx	
HKCU\Software\Classes\QtProject.QtCreator.hxx\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.hxx\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.pri	
HKCU\Software\Classes\QtProject.QtCreator.pri\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.pri\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.pro	
HKCU\Software\Classes\QtProject.QtCreator.pro\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.pro\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.qbs	
HKCU\Software\Classes\QtProject.QtCreator.qbs\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.qbs\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.qml	
HKCU\Software\Classes\QtProject.QtCreator.qml\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.qml\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.qs	
HKCU\Software\Classes\QtProject.QtCreator.qs\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.qs\shell\Open\Command	
HKCU\Software\Classes\QtProject.QtCreator.ui	
HKCU\Software\Classes\QtProject.QtCreator.ui\DefaultIcon	
HKCU\Software\Classes\QtProject.QtCreator.ui\shell\Open\Command	
HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store	
HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts	
HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts	
HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts	
HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts	
HKCU\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts	
HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$de${7195155d-3332-4a66-80bd-4da53eed81de}$$windows.data.unifiedtile.localstarttilepropertiesmap\Current	
HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$de${7195155d-3332-4a66-80bd-4da53eed81de}$$windows.data.unifiedtile.roamedtilepropertiesmap\Current	
HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$de${7195155d-3332-4a66-80bd-4da53eed81de}$graveyard$windows.data.curatedtilecollection.tilecollection\Current	
HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$de${7195155d-3332-4a66-80bd-4da53eed81de}$start.tilegrid$windows.data.curatedtilecollection.tilecollection\Current	
HKCU\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\DefaultAccount\Current\default$windows.data.apps.appleveltileinfo$appleveltilelist\windows.data.apps.appleveltileinfo$w~dqttoolsqtcreatorbinqtcreator.exe	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\CIDSizeMRU	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FeatureUsage\AppBadgeUpdated	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FeatureUsage\AppSwitched	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FeatureUsage\ShowJumpView	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.c\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cc\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cpp\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.cxx\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.h\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hh\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hpp\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hxx\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp4\OpenWithList	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithList	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.svg\OpenWithList	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ui\OpenWithProgids	
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xml\OpenWithList	
HKCU\Software\Microsoft\Windows\CurrentVersion\UFH\SHC	
HKCU\Software\QtProject\QtCreator\PluginManager	
HKLM\SOFTWARE\Classes\Installer\Products\2034F08A453EDCFE8320C30B75D2F41D\SourceList	
HKLM\SOFTWARE\Classes\Installer\Products\2034F08A453EDCFE8320C30B75D2F41D\SourceList\Net	
HKLM\SOFTWARE\Classes\Installer\Products\6E882B664533F0BA29D009D9AD6A35FF\SourceList	
HKLM\SOFTWARE\Classes\Installer\Products\6E882B664533F0BA29D009D9AD6A35FF\SourceList\Net	
HKLM\SYSTEM\ControlSet001\Control\Session Manager\AppCompatCache	
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache	

Some of them contain the path to the qtcreator executable. For example,

HKCU\Software\Classes\QtProject.QtCreator.h\shell\Open\Command		REG_SZ	D:\Qt\\Tools\QtCreator\bin\qtcreator.exe -client "%1"	08/05/2023 23:05:02	54	BUILTIN\Administrators	

Should the above key be used to fetch the path to the qtcreator executable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Issues related to editor and shell integrations that ship in Desktop
Projects
None yet
Development

No branches or pull requests

2 participants