{"id":220947,"date":"2014-04-30T17:16:03","date_gmt":"2014-04-30T13:16:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=220947"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=220947","title":{"rendered":"<span class=\"post_title\">AdMob, Qt 5.2 \u0438 Android \u0438\u043b\u0438 \u0447\u0442\u043e \u0431\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u0433\u0434\u0430 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043d\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0430<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u043a\u043e\u043b\u043b\u0435\u0433\u0438.<\/p>\n<p>  Qt 5 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u043e\u0432 \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0442\u0430\u043c \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0447\u0435\u0433\u043e-\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0443\u0436\u043d\u043e\u0433\u043e. \u0412\u043e\u0442 \u0442\u0430\u043a \u0436\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u043d\u0435\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f AdMob \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0438\u043b\u0438 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Qt \u043f\u043e\u0434 android, \u0447\u0430\u0441\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0442\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u0440\u0430\u0442\u043a\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u043e \u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u044d\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u043c\u043e\u0435\u043c <a href=\"http:\/\/habrahabr.ru\/post\/220877\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c<\/a> \u043f\u043e\u0441\u0442\u0435. \u0417\u0434\u0435\u0441\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043a\u0430\u043a \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c AdMob \u0432 Qt \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 Android.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u043e\u0438\u0441\u043a \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h4>\n<h5>V-play AdMob plugin<\/h5>\n<p>  V-play \u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0432 Qt \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0435. \u0414\u043b\u044f \u043a\u043e\u0433\u043e-\u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u0440\u0438\u0435\u043c\u043b\u0438\u043c\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u0430 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<h5>qadmob<\/h5>\n<p>  \u041c\u043d\u043e\u0433\u043e \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0441\u0435\u0442\u0438 \u0432\u0435\u0434\u0443\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u043f\u043b\u0430\u0433\u0438\u043d, \u043d\u043e \u043e\u043d \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u0440\u0435\u043b.<\/p>\n<h4>\u0427\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443<\/h4>\n<p>  \u041f\u043e\u043c\u043e\u0433\u043b\u0438: \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043f\u043e\u0434 Android, \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 Qt \u0438 Necessities, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c, \u00ab\u043e\u0442\u0446\u0430\u00bb Qt \u043f\u043e\u0434 Android, \u0411\u043e\u0433\u0434\u0430\u043d\u0430 \u0412\u0430\u0442\u0440\u044b.<\/p>\n<h4>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f<\/h4>\n<p>  <\/p>\n<h5>Google Play Service<\/h5>\n<p>  \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c Google Play Service (\u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f a AdMob java api) \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 \u0441 \u0432\u0430\u0448\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043d\u0430 Qt.<\/p>\n<h6>\u0428\u0430\u0433 1<\/h6>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u0430\u0439\u043b project.properties \u0432 \u043f\u0430\u043f\u043a\u0443 \u0433\u0434\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f android \u0444\u0430\u0439\u043b\u044b Qt \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0412 \u043d\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 Google Play Service:<br \/>  android.library.reference.1=.\/relative\/path\/to\/google-play-services_lib<br \/>  \u0412\u0430\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0441 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c \u0431\u0443\u0434\u0443\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435. \u0418 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043f\u0443\u0442\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e build \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0430 \u043d\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c.<\/p>\n<h6>\u0428\u0430\u0433 2<\/h6>\n<p>  \u042d\u0442\u043e \u0448\u0430\u0433 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u043d\u043e \u0435\u0441\u043b\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0433\u043e.<br \/>  \u0412 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 ( \/path_to_android_sdk\/extras\/google\/google_play_services\/libproject\/google-play-services_lib\/) \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:  <\/p>\n<pre><code class=\"bash\">android update lib-project --path . ant clean ant release <\/code><\/pre>\n<h6>\u0428\u0430\u0433 3<\/h6>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c AndroidManifest.xml<\/p>\n<p>  \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0440\u0435\u043a\u043b\u0430\u043c\u044b:  <\/p>\n<pre><code class=\"xml\"> &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;\/&gt;    &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot;\/&gt;   <\/code><\/pre>\n<p>  \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u044e Google Play Service \u0432 \u0441\u0435\u043a\u0446\u0438\u044e application:  <\/p>\n<pre><code class=\"xml\"> &lt;meta-data android:name=&quot;com.google.android.gms.version&quot; android:value=&quot;@integer\/google_play_services_version&quot;\/&gt;   <\/code><\/pre>\n<p>  \u0434\u043e\u0431\u0432\u0430\u043b\u044f\u0435\u043c activity \u0432 \u0441\u0435\u043a\u0446\u0438\u044e application:  <\/p>\n<pre><code class=\"xml\"> &lt;activity android:configChanges=&quot;keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize&quot; android:name=&quot;com.google.android.gms.ads.AdActivity&quot;\/&gt;   <\/code><\/pre>\n<h5>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u043c AdMob \u0431\u0430\u043d\u043d\u0435\u0440<\/h5>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a Google Play Service \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u043b\u0430\u0432\u043d\u043e\u0435 Activity, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 QtActivity, \u0432 \u043d\u0435\u043c \u0443\u0436\u0435 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c AdView. \u0412\u043e\u0442 \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0432 \u043a\u043e\u0434\u0435:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"java\"> package org.qtproject.example.admobqt;    import com.google.android.gms.ads.AdRequest;    import com.google.android.gms.ads.AdSize;    import com.google.android.gms.ads.AdView;    import com.google.android.gms.ads.AdListener;    import android.os.Bundle;    import android.view.View;    import android.view.ViewGroup;      public class AdMobQtActivity extends org.qtproject.qt5.android.bindings.QtActivity    {      private static ViewGroup viewGroup;      private AdView mAdView;      private boolean adAdded = false;      @Override      public void onCreate(Bundle savedInstanceState) {        super.onCreate(savedInstanceState);        mAdView = new AdView(this);        mAdView.setAdUnitId(&quot;YOUR_ADMOB_ID_HERE&quot;);        mAdView.setAdSize(AdSize.BANNER);        View view = getWindow().getDecorView().getRootView();        if (view instanceof ViewGroup) {          viewGroup = (ViewGroup) view;          ViewGroup.LayoutParams ad_layout_params = new ViewGroup.LayoutParams( ViewGroup.LayoutParams.FILL_PARENT, 150);          mAdView.setLayoutParams(ad_layout_params);          mAdView.setAdListener( new AdListener() {            public void onAdLoaded(){              if( adAdded)                return;              adAdded = true;              viewGroup.addView( mAdView);            }          });          AdRequest adRequest = new AdRequest.Builder()            .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)            .addTestDevice(&quot;INSERT_YOUR_HASHED_DEVICE_ID_HERE&quot;)            .build();          mAdView.loadAd( adRequest);        }      }      @Override      public void onPause() {        mAdView.pause();        super.onPause();      }      @Override      public void onResume() {        super.onResume();        mAdView.resume();      }      @Override      public void onDestroy() {        mAdView.destroy();        super.onDestroy();      }    }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0435 View \u0438\u0437 \u043d\u0430\u0448\u0435\u0433\u043e Activity.  <\/p>\n<pre><code class=\"java\"> View view = getWindow().getDecorView().getRootView();  <\/code><\/pre>\n<p>  \u0412 Qt \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 QtLayout, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u043e\u0442 ViewGroup, \u0447\u0442\u043e \u043d\u0430\u043c \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e AdView.<br \/>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 ViewGroup AdView \u0432 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u043e\u0433\u0434\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 onCreate \u0442\u043e \u0440\u0435\u043a\u043b\u0430\u043c\u043d\u044b\u0439 \u0431\u043b\u043e\u0433 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u0441\u044f \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u043c\u0435\u043d\u0438\u0442\u0441\u044f \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u044d\u043a\u0440\u0430\u043d\u0430, \u043b\u0438\u0431\u043e \u043f\u043e\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u043e \u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e. \u041f\u043e\u0445\u043e\u0436\u0435 \u044d\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 Qt java \u043a\u043b\u0430\u0441\u0441\u0430\u0445 QtLayout.java \u0438\/\u0438\u043b\u0438 QtSurface.java.  <\/p>\n<pre><code class=\"java\">       mAdView.setAdListener( new AdListener() {            public void onAdLoaded(){              if( adAdded)                return;              adAdded = true;              viewGroup.addView( mAdView);            }          });  <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u0438\u0442\u043e\u0433\u0435:<br \/>  <a href=\"https:\/\/github.com\/AlexMarlo\/AdMob-Qt5.2-Example\">github.com\/AlexMarlo\/AdMob-Qt5.2-Example<\/a><\/p>\n<p>  \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<br \/>  <a href=\"http:\/\/qt-project.org\/doc\/qt-5\/qtandroidextras-notification-example.html\">qt-project.org\/doc\/qt-5\/qtandroidextras-notification-example.html<\/a><br \/>  <a href=\"https:\/\/gitorious.org\/qadmob\">gitorious.org\/qadmob<\/a><br \/>  <a href=\"http:\/\/blog.qt.digia.com\/blog\/2013\/12\/12\/implementing-in-app-purchase-on-android\/\">blog.qt.digia.com\/blog\/2013\/12\/12\/implementing-in-app-purchase-on-android\/<\/a><br \/>  <a href=\"http:\/\/developer.android.com\/tools\/projects\/index.html\">developer.android.com\/tools\/projects\/index.html<\/a><br \/>  <a href=\"http:\/\/developer.android.com\/tools\/projects\/projects-cmdline.html\">developer.android.com\/tools\/projects\/projects-cmdline.html<\/a><\/p>\n<p>  PS:<br \/>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u0440\u043e\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 AdMob \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Qt. \u041d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d \u0447\u0442\u043e \u0441\u043c\u043e\u0433\u0443 \u0447\u0442\u043e-\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u043e \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/220947\/\"> http:\/\/habrahabr.ru\/post\/220947\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435, \u043a\u043e\u043b\u043b\u0435\u0433\u0438.<\/p>\n<p>  Qt 5 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u043e\u0432 \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0442\u0430\u043c \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0447\u0435\u0433\u043e-\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043d\u0443\u0436\u043d\u043e\u0433\u043e. \u0412\u043e\u0442 \u0442\u0430\u043a \u0436\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0442\u0430\u043c \u043d\u0435\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0434\u043b\u044f AdMob \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<br \/>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0438\u043b\u0438 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 Qt \u043f\u043e\u0434 android, \u0447\u0430\u0441\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0442\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441 \u043c\u043e\u043d\u0435\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u0440\u0430\u0442\u043a\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u043e \u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u044d\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u043c\u043e\u0435\u043c <a href=\"http:\/\/habrahabr.ru\/post\/220877\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c<\/a> \u043f\u043e\u0441\u0442\u0435. \u0417\u0434\u0435\u0441\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043a\u0430\u043a \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c AdMob \u0432 Qt \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 Android.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-220947","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/220947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220947"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/220947\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}