<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: setAttributionTextVisible (false) is not hiding the &amp;quot;Powered by Esri&amp;quot; bottom bar in 200.1 Qt in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329159#M5037</link>
    <description>&lt;P&gt;Can you post a minimal code to reproduce the problem?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 16:53:03 GMT</pubDate>
    <dc:creator>GuillaumeBelz</dc:creator>
    <dc:date>2023-09-15T16:53:03Z</dc:date>
    <item>
      <title>setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328694#M5028</link>
      <description>&lt;P&gt;I just updated my setup to 200.1 (200.2 requires new Qt version my setup cant update to yet) and even though I am calling "mapGraphicsView-&amp;gt;setAttributionTextVisible(false);" the "Powered by Esri" bar still shows up on my map.&lt;/P&gt;&lt;P&gt;I checked my license and my extensions and they both have a licenseStatus of 3/Valid.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 14:19:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328694#M5028</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-14T14:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328735#M5031</link>
      <description>&lt;P&gt;And further experimentation with calling it with true, then false does not seem to do anything.&lt;/P&gt;&lt;P&gt;If I call&amp;nbsp;isAttributionTextVisible that is returning false.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 15:33:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328735#M5031</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-14T15:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328936#M5033</link>
      <description>&lt;P&gt;Hello Troy,&lt;/P&gt;&lt;P&gt;I tested with 200.2, everything looks fine. I'll try with 200.1.&lt;/P&gt;&lt;P&gt;EDIT : which platform do you use? And which license level?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 23:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328936#M5033</guid>
      <dc:creator>GuillaumeBelz</dc:creator>
      <dc:date>2023-09-14T23:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328977#M5034</link>
      <description>&lt;P&gt;I can reproduce with 200.1 and 2002. We will investigate to understand the problem.&lt;/P&gt;&lt;P&gt;You can force the update using `update` function:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;mapGraphicsView-&amp;gt;setAttributionTextVisible(false);
mapGraphicsView-&amp;gt;update();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 04:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1328977#M5034</guid>
      <dc:creator>GuillaumeBelz</dc:creator>
      <dc:date>2023-09-15T04:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329019#M5035</link>
      <description>&lt;P&gt;linux/ubuntu 22.04.&amp;nbsp; I censored out our key info but I can send it in a direct message or email if you like.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;   // Before initializing ArcGIS Runtime, set the
   // ArcGIS Runtime license.
   QStringList extensions = QStringList();
   extensions.append(QString(
         "runtimeanalysis,1000,[key info removed],none,[key info removed]"));
   Esri::ArcGISRuntime::LicenseResult result =
         Esri::ArcGISRuntime::ArcGISRuntimeEnvironment::setLicense(
               QString("runtimestandard,1000,[key info removed],none,[key info removed]"),
               extensions);

   printf("LicenseResult created with status of: %d\n",
         (int)result.licenseStatus());
   for( const auto&amp;amp; extension : result.extensionsStatus().toStdMap())
   {
      printf("LicenseResult extension %s created with status of: %d\n",
            extension.first.toStdString().c_str(),
            (int)extension.second);
   }
   printf("License expiration date: %s\n",
         Esri::ArcGISRuntime::ArcGISRuntimeEnvironment::license()-&amp;gt;expiry().toString().toStdString().c_str());
   printf("License isPermanent: %d\n",
         Esri::ArcGISRuntime::ArcGISRuntimeEnvironment::license()-&amp;gt;isPermanent());
   printf("License licenseLevel: %d\n",
         (int)Esri::ArcGISRuntime::ArcGISRuntimeEnvironment::license()-&amp;gt;licenseLevel());

   // Use this code to check for licensing errors
   if (Esri::ArcGISRuntime::ArcGISRuntimeEnvironment::initialize() == false)
   {
      application.quit();
      return 1;
   }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;And here is the output of those printf statements&lt;/P&gt;&lt;LI-CODE lang="c"&gt;LicenseResult created with status of: 3
LicenseResult extension runtimeanalysis created with status of: 3
License expiration date: Sun Aug 17 07:12:55 292278994
License isPermanent: 1
License licenseLevel: 3&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 11:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329019#M5035</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-15T11:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329029#M5036</link>
      <description>&lt;P&gt;Calling update explicitly does not seem to fix this for me. I fiddled with my code to temporarily backdoor one of my other toggles to try switching attribution text off and on once everything was up and running (thinking I was calling too early before some async loadable became available) but adding the update call does not seem to be having any effect.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 12:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329029#M5036</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-15T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329159#M5037</link>
      <description>&lt;P&gt;Can you post a minimal code to reproduce the problem?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 16:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329159#M5037</guid>
      <dc:creator>GuillaumeBelz</dc:creator>
      <dc:date>2023-09-15T16:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329723#M5039</link>
      <description>&lt;P&gt;I can put something together here in a day or two once I get my environment back to 200.0 temporarily and confirm it works there and then that it does not work on 200.1&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 17:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1329723#M5039</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-18T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1330342#M5042</link>
      <description>&lt;P&gt;Most of my samples are modified derivations of an older copy of the FeatureLayerShapefile sample from your github.&amp;nbsp; I added a button in the top left that when clicked toggles the status of what it sends to&amp;nbsp;setAttributionTextVisible.&amp;nbsp; This toggle works on 200.0 but not on 200.1.&amp;nbsp; The errorOccurred signal is not getting triggered also for the mapGraphicsView .&lt;/P&gt;&lt;P&gt;main.cpp&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// Copyright 2017 Esri.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include &amp;lt;QApplication&amp;gt;
#include &amp;lt;QMessageBox&amp;gt;

#include "FeatureLayerShapefile.h"

#define STRINGIZE(x) #x
#define QUOTE(x) STRINGIZE(x)

int main(int argc, char *argv[])
{

   QApplication application(argc, argv);

#ifdef Q_OS_WIN
   // Force usage of OpenGL ES through ANGLE on Windows
   QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);
#endif

   FeatureLayerShapefile applicationWindow;
   applicationWindow.setMinimumWidth(800);
   applicationWindow.setMinimumHeight(600);
   applicationWindow.show();

   return application.exec();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;FeatureLayerShapefile.h&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// [WriteFile Name=FeatureLayerShapefile, Category=Layers]
// [Legal]
// Copyright 2017 Esri.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// [Legal]

#ifndef FEATURELAYERSHAPEFILE_H
#define FEATURELAYERSHAPEFILE_H

namespace Esri
{
namespace ArcGISRuntime
{
class Map;
class MapGraphicsView;

class FeatureCollectionTable;
class FeatureCollection;
class FeatureCollectionLayer;
class Feature;

class UniqueValueRenderer;
class FeatureQueryResult;
} // namespace ArcGISRuntime
} // namespace Esri
class QPushButton;

#include &amp;lt;QWidget&amp;gt;
#include &amp;lt;Error.h&amp;gt;

class FeatureLayerShapefile : public QWidget
{
   Q_OBJECT

public:
   explicit FeatureLayerShapefile(QWidget *parent = nullptr);
   ~FeatureLayerShapefile() = default;

public slots:
   void button1Pressed();

   void errorOccurred(Esri::ArcGISRuntime::Error error);

private:
   Esri::ArcGISRuntime::Map             *m_map     = nullptr;
   Esri::ArcGISRuntime::MapGraphicsView *m_mapView = nullptr;

   QPushButton *m_button = nullptr;

   void createAndAddShapefileLayer();
};

#endif // FEATURELAYERSHAPEFILE_H&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;FeatureLayerShapefile.cpp&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// [WriteFile Name=FeatureLayerShapefile, Category=Layers]
// [Legal]
// Copyright 2017 Esri.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// [Legal]

#include "FeatureLayerShapefile.h"

#include "Map.h"
#include "MapGraphicsView.h"
#include "ShapefileFeatureTable.h"
#include "FeatureLayer.h"
#include "Envelope.h"
#include "LayerListModel.h"
#include "Error.h"
#include "TaskWatcher.h"

#include &amp;lt;QFileInfo&amp;gt;
#include &amp;lt;iostream&amp;gt;
#include &amp;lt;QVBoxLayout&amp;gt;
#include &amp;lt;QPushButton&amp;gt;

using namespace std;

using namespace Esri::ArcGISRuntime;

FeatureLayerShapefile::FeatureLayerShapefile(QWidget *parent /* = nullptr */)
   : QWidget(parent)
{
   // Create a map using the Imagery with labels basemap
   m_map = new Map(this);

   // Create a map view, and pass in the map
   m_mapView = new MapGraphicsView(m_map, this);

   // Create the button to display the input dialog
   m_button = new QPushButton("Do Something", this);
   m_button-&amp;gt;setStyleSheet("QPushbutton#text {color: black;}");

   connect(m_button,
           &amp;amp;QPushButton::clicked,
           this,
           &amp;amp;FeatureLayerShapefile::button1Pressed);

   // Set up the UI
   QVBoxLayout *vBoxLayout = new QVBoxLayout();
   vBoxLayout-&amp;gt;addWidget(m_mapView);
   setLayout(vBoxLayout);

   // Create and add the shapefile to the map
   createAndAddShapefileLayer();
}

void FeatureLayerShapefile::createAndAddShapefileLayer()
{

   // TODO download and update the path in this file
   // from
   // https://github.com/Esri/arcgis-runtime-samples-data/tree/master/shapefiles
   QString dataPath = "../shapefiles/world-continents.shp";

   // Create the ShapefileFeatureTable
   ShapefileFeatureTable *featureTable =
         new ShapefileFeatureTable(dataPath, this);

   // Create the feature layer from the ShapefileFeatureTable
   FeatureLayer *layer = new FeatureLayer(featureTable, this);

   connect(layer,
           &amp;amp;FeatureLayer::doneLoading,
           this,
           [this, layer](Error loadError)
           {
              cout &amp;lt;&amp;lt; __LINE__ &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; loadError.message().toStdString()
                   &amp;lt;&amp;lt; endl;
              if (!loadError.isEmpty())
                 return;

              // If the layer was loaded successfully, set the map extent to the
              // full extent of the layer
              m_mapView-&amp;gt;setViewpointGeometry(layer-&amp;gt;fullExtent());
           });
   connect(layer,
           &amp;amp;FeatureLayer::errorOccurred,
           this,
           [this, layer](Error loadError)
           {
              cout &amp;lt;&amp;lt; __LINE__ &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; loadError.message().toStdString()
                   &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; loadError.additionalMessage().toStdString()
                   &amp;lt;&amp;lt; endl;
           });
   connect(featureTable,
           &amp;amp;ShapefileFeatureTable::errorOccurred,
           this,
           [this, layer](Error loadError) {
              cout &amp;lt;&amp;lt; __LINE__ &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; loadError.message().toStdString()
                   &amp;lt;&amp;lt; endl;
           });
   connect(m_mapView,
           &amp;amp;MapGraphicsView::errorOccurred,
           this,
           [this, layer](Error loadError) {
              cout &amp;lt;&amp;lt; __LINE__ &amp;lt;&amp;lt; " " &amp;lt;&amp;lt; loadError.message().toStdString()
                   &amp;lt;&amp;lt; endl;
           });

   layer-&amp;gt;load();
   // Add the shapefile layer to the map
   m_map-&amp;gt;operationalLayers()-&amp;gt;clear();
   m_map-&amp;gt;operationalLayers()-&amp;gt;append(layer);
}

void FeatureLayerShapefile::errorOccurred(Esri::ArcGISRuntime::Error error)
{
   printf("FeatureLayerShapefile::onErrorOccurred errorType = %d, domain = %d, "
          "extendedErrorType = %d,  %s %s\n",
          (int)error.errorType(),
          (int)error.domain(),
          (int)error.extendedErrorType(),
          error.message().toStdString().c_str(),
          error.additionalMessage().toStdString().c_str());
}

void FeatureLayerShapefile::button1Pressed()
{
   static bool shown = false;
   shown             = !shown;
   cout &amp;lt;&amp;lt; "button1Pressed shown = " &amp;lt;&amp;lt; shown &amp;lt;&amp;lt; endl;

   m_mapView-&amp;gt;setAttributionTextVisible(shown);
   m_mapView-&amp;gt;update();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 19:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1330342#M5042</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-19T19:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1330729#M5045</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm sorry, I didn't realize that you're using QtWidgets. You're right, `update` doesn't work in this case.&lt;/P&gt;&lt;P&gt;There is no workaround. We will fix that as soon as possible.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 17:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1330729#M5045</guid>
      <dc:creator>GuillaumeBelz</dc:creator>
      <dc:date>2023-09-20T17:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1331386#M5055</link>
      <description>&lt;P&gt;Darn.&amp;nbsp; Would the fix be in a 200.1.1 or in a 200.3+ delivery?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 10:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1331386#M5055</guid>
      <dc:creator>TroyFoster</dc:creator>
      <dc:date>2023-09-22T10:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1331600#M5058</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We cannot at this time guarantee when the problem will be corrected, but we will investigate and try to get them fixed for 200.3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 18:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1331600#M5058</guid>
      <dc:creator>GuillaumeBelz</dc:creator>
      <dc:date>2023-09-22T18:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: setAttributionTextVisible (false) is not hiding the "Powered by Esri" bottom bar in 200.1 Qt</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1349729#M5132</link>
      <description>&lt;P&gt;Hi Troy - we've got a fix in for the 200.3 release, which should be coming out in December 2023. We don't currently have any patch releases for 200.1 planned.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/setattributiontextvisible-false-is-not-hiding-the/m-p/1349729#M5132</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2023-11-15T16:01:40Z</dc:date>
    </item>
  </channel>
</rss>

