Skip to content
Snippets Groups Projects
Commit 60cc8696 authored by Adriaan de Groot's avatar Adriaan de Groot
Browse files

Remove PythonQt support -- C++ bits

parent ca4dbabf
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,6 @@ interfaceNames() ...@@ -40,7 +40,6 @@ interfaceNames()
{ QStringLiteral("process"), Interface::Process }, { QStringLiteral("process"), Interface::Process },
{ QStringLiteral("qtplugin"), Interface::QtPlugin }, { QStringLiteral("qtplugin"), Interface::QtPlugin },
{ QStringLiteral("python"), Interface::Python }, { QStringLiteral("python"), Interface::Python },
{ QStringLiteral("pythonqt"), Interface::PythonQt }
}; };
// *INDENT-ON* // *INDENT-ON*
// clang-format on // clang-format on
...@@ -98,7 +97,6 @@ Descriptor::fromDescriptorData( const QVariantMap& moduleDesc ) ...@@ -98,7 +97,6 @@ Descriptor::fromDescriptorData( const QVariantMap& moduleDesc )
consumedKeys << "load"; consumedKeys << "load";
break; break;
case Interface::Python: case Interface::Python:
case Interface::PythonQt:
d.m_script = CalamaresUtils::getString( moduleDesc, "script" ); d.m_script = CalamaresUtils::getString( moduleDesc, "script" );
if ( d.m_script.isEmpty() ) if ( d.m_script.isEmpty() )
{ {
......
...@@ -42,7 +42,6 @@ enum class Interface ...@@ -42,7 +42,6 @@ enum class Interface
QtPlugin, // Jobs or Views QtPlugin, // Jobs or Views
Python, // Jobs only Python, // Jobs only
Process, // Deprecated interface Process, // Deprecated interface
PythonQt // Views only, available as enum even if PythonQt isn't used
}; };
const NamedEnumTable< Interface >& interfaceNames(); const NamedEnumTable< Interface >& interfaceNames();
...@@ -111,7 +110,7 @@ public: ...@@ -111,7 +110,7 @@ public:
*/ */
QString script() const QString script() const
{ {
return ( m_interface == Interface::Python || m_interface == Interface::PythonQt ) ? m_script : QString(); return m_interface == Interface::Python ? m_script : QString();
} }
private: private:
......
...@@ -55,10 +55,6 @@ moduleFromDescriptor( const Calamares::ModuleSystem::Descriptor& moduleDescripto ...@@ -55,10 +55,6 @@ moduleFromDescriptor( const Calamares::ModuleSystem::Descriptor& moduleDescripto
{ {
m.reset( new ViewModule() ); m.reset( new ViewModule() );
} }
else if ( moduleDescriptor.interface() == Interface::PythonQt )
{
cError() << "PythonQt view modules are not supported in this version of Calamares.";
}
else else
{ {
cError() << "Bad interface" cError() << "Bad interface"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment