Meta tags:
description= Qt (Android, iOS, W10);
Headings (most frequently used words):
qt, app, creator, and, splash, screen, ios, your, world, summit, the, android, business, apps, create, storyboard, pro, project, at, stores, for, le, from, update, install, selection, back, next, article, home, overview, topics, xib, in, xcode, new, build, not, some, screenshots, to, edit, mobile, ekkes, example, devices, explore, bt, drawer, no, with, preferences, run, handles, conference, issues, workarounds, intro, current, settings, design, change, projectfile, clean, save, changes, git, deploy, test, changed, asset, catalog, icons, add, appicons, info, plist, yourproject, ignore, bluetooth, meet, ekke, conferences, thx, john, martin, download, btle, features, smartphones, tablets, discover, services, characteristics, heartrate, monitor, addimat, lock, manager, nfc, reader, open, source, qml, imports, ignores, taps, outside, monthgrid, onclicked, gets, events, release, getting, thousands, of, warnings, isonline, reliable, qncm, start, settingspath, working, directory, external, tools, manage, plugins, qtquickcontrols2, gallery, quick, controls, clone, my, examples, github, select, words, by, double, tap, overlap, while, scrolling, only, handle, visible, when, component, invisible, outdated, 2019, 2018, 11, projects, limits, howto, make, complex, real, life, translations, refresh, work, text, community, wiki, forum, lists,
Text of the page (most frequently used words):
the (271), and (169), you (95), for (92), app (90), from (73), this (65), ios (56), your (53), apps (50), #mobile (48), with (45), new (43), can (43), are (38), all (38), now (30), #creator (30), some (30), project (30), android (29), here (29), also (28), text (28), devices (26), nfc (26), business (25), see (24), using (24), screen (24), about (23), will (23), there (23), tap (23), select (22), splash (22), only (21), more (21), device (21), storyboard (21), like (20), print (20), development (19), into (19), first (19), xcode (19), file (19), have (18), get (18), not (18), services (17), then (17), but (17), example (17), selection (16), under (16), addimat (16), install (15), where (15), drawer (15), create (15), time (15), found (15), use (15), easy (14), thetextfield (14), png (14), run (14), open (14), was (14), reader (13), button (13), done (13), one (13), same (13), add (13), ekkes (13), xib (13), opens (12), visible (12), work (12), user (12), page (12), know (12), controls (12), always (12), start (12), store (12), btle (12), key (12), lock (12), name (11), loading (11), blog (11), window (11), share (11), tweet (11), width (11), inside (11), please (11), works (11), projects (11), build (11), pro (11), connect (11), tumblr (10), take (10), github (10), change (10), out (10), doesn (10), good (10), settings (10), default (10), external (10), bluetooth (10), most (10), info (10), comment (9), already (9), update (9), textarea (9), look (9), menu (9), while (9), conference (9), top (9), parent (9), double (9), without (9), 2017 (9), qtquick (9), qtquickcontrols2 (9), bin (9), that (9), working (9), howto (9), old (9), read (9), apple (9), used (9), help (9), world (9), service (9), characteristics (9), plist (9), com (8), set (8), textfield (8), workaround (8), bug (8), still (8), true (8), material (8), selectbymouse (8), something (8), make (8), different (8), should (8), don (8), tools (8), blackberry (8), files (8), current (8), because (8), available (8), last (8), iphone (8), part (8), values (8), custom (8), years (8), summit (8), appicon (8), mylaunchscreen (8), next (7), back (7), anchors (7), important (7), appwindow (7), need (7), qml (7), right (7), way (7), folder (7), running (7), developing (7), real (7), source (7), linguist (7), qtcreator (7), reachability (7), utility (7), data (7), value (7), height (7), keys (7), tablets (7), images (7), bundle (7), location (7), view (6), log (6), other (6), overview (6), focus (6), another (6), handles (6), find (6), layout (6), horizontalcenter (6), clear (6), onclicked (6), users (6), easier (6), copy (6), delete (6), many (6), want (6), issues (6), https (6), navigation (6), what (6), click (6), customers (6), after (6), echo (6), case (6), step (6), getting (6), events (6), framework (6), import (6), tag (6), led (6), play (6), heartrate (6), must (6), screenshot (6), greater (6), stores (6), logo (6), write (5), comments (5), site (5), dev (5), article (5), soon (5), becomes (5), has (5), active (5), icon (5), property (5), activefocus (5), word (5), give (5), insert (5), mode (5), outside (5), touch (5), try (5), rename (5), osx (5), macos (5), testing (5), unused (5), idea (5), tool (5), close (5), script (5), profilepath (5), check (5), doing (5), release (5), online (5), before (5), defined (5), src (5), monthgrid (5), imports (5), ekke (5), notifications (5), address (5), explore (5), hint (5), google (5), starting (5), complex (5), built (5), enterprise (5), xcassets (5), icons (5), 2019 (5), itunesartwork (5), manage (4), content (4), subscribed (4), subscribe (4), wordpress (4), account (4), field (4), when (4), buttoniconactive (4), qstr (4), row (4), placed (4), gets (4), scroll (4), does (4), setting (4), workarounds (4), support (4), installed (4), gallery (4), quick (4), error (4), listed (4), let (4), version (4), list (4), plugins (4), git (4), org (4), ekkescorner (4), execute (4), refresh (4), adding (4), looks (4), test (4), these (4), translations (4), preferences (4), yet (4), which (4), sources (4), besides (4), contents (4), installer (4), download (4), commercial (4), developers (4), prepare (4), develop (4), june (4), warnings (4), class (4), q_os_ios (4), break (4), endif (4), state (4), qtbug (4), even (4), opened (4), model (4), month (4), added (4), popup (4), end (4), tapping (4), leave (4), demo (4), documentation (4), red (4), above (4), battery (4), life (4), mac (4), disconnect (4), monitor (4), isn (4), cases (4), ipad (4), amazon (4), tablet (4), conferences (4), thx (4), talk (4), screenshots (4), thing (4), tips (4), tricks (4), limits (4), october (4), 1024 (4), asset (4), catalog (4), appiconset (4), image (4), constraints (4), launch (4), required (3), bar (3), bb10 (3), home (3), topics (3), invisible (3), handle (3), scrolling (3), customized (3), updated (3), alias (3), placeholdertext (3), pane (3), words (3), textclearbutton (3), textdonebutton (3), focuspolicy (3), clickfocus (3), imagename (3), else (3), area (3), long (3), toggle (3), cut (3), just (3), move (3), developed (3), expected (3), brings (3), bottom (3), examples (3), moving (3), search (3), connected (3), qmake (3), tab (3), application (3), verify (3), restart (3), unwanted (3), per (3), created (3), daten (3), sdk (3), adb (3), shell (3), enbw (3), pegelmeter (3), commands (3), deployed (3), shortcut (3), ide (3), trick (3), configuration (3), clang_64 (3), access (3), looking (3), changed (3), directory (3), settingspath (3), license (3), perhaps (3), updating (3), tested (3), customer (3), great (3), pragma (3), switch (3), status (3), notreachable (3), networkinfo (3), append (3), internet (3), disable_warning (3), label (3), fit (3), grid (3), well (3), fakepopup (3), pages (3), below (3), between (3), would (3), drag (3), normaly (3), structure (3), magnetic (3), uses (3), buzzer (3), allows (3), enter (3), mapping (3), attention (3), hid (3), shows (3), special (3), level (3), detail (3), types (3), nearby (3), fire (3), helps (3), discover (3), again (3), pixel (3), smartphones (3), integrated (3), finally (3), via (3), chip (3), happy (3), probably (3), features (3), ipads (3), phones (3), john (3), martin (3), berlin (3), session (3), profsys (3), native (3), remove (3), json (3), conference2go (3), xxx (3), 2018 (3), changes (3), clean (3), dir (3), tree (3), centered (3), design (3), blogs (3), email (2), sign (2), former (2), older (2), intro (2), 58700 (2), component (2), overlap (2), keyboard (2), two (2), thetextrow (2), signal (2), int (2), minheighttextpane (2), doubletapisdefault (2), textpane (2), fillwidth (2), goes (2), textselecttogglebutton (2), code (2), showtoast (2), switched (2), off (2), textarearow (2), remarkstextrow (2), tourdetail (2), remark (2), comes (2), makes (2), disappear (2), false (2), press (2), position (2), single (2), paste (2), both (2), them (2), around (2), less (2), buttons (2), place (2), contains (2), having (2), hopefully (2), problems (2), replace (2), taps (2), community (2), follow (2), series (2), best (2), details (2), link (2), kits (2), kit (2), debug (2), hit (2), desktop (2), style (2), config (2), ways (2), system (2), workspace (2), stop (2), qtproject (2), those (2), androidforwork (2), unfortunately (2), touches (2), trigger (2), date (2), path (2), finished (2), automatically (2), lupdate (2), lrelease (2), strings (2), translate (2), english (2), language (2), cannot (2), configuring (2), trouble (2), newer (2), ones (2), ndk (2), locations (2), directories (2), changing (2), german (2), any (2), save (2), _qt_sdks (2), sdk_590 (2), parameter (2), spaces (2), selected (2), downloads (2), steps (2), www (2), startups (2), small (2), installing (2), each (2), void (2), flags (2), connection (2), states (2), qdebug (2), init (2), statuschanged (2), newstatus (2), include (2), reachabilitylistener (2), better (2), qncm (2), could (2), mnetworkconfigmanager (2), qnetworkconfigurationmanager (2), isonline (2), thousands (2), mouseclick (2), mypage (2), console (2), day (2), today (2), color (2), pressed (2), foreground (2), mouse (2), fill (2), mousearea (2), meantime (2), ignores (2), dimmed (2), big (2), extra (2), went (2), newest (2), ids (2), lets (2), knows (2), progress (2), ignore (2), manager (2), selecting (2), string (2), hex (2), uuid (2), known (2), scanner (2), beacons (2), high (2), register (2), miss (2), ios11 (2), tags (2), identify (2), persons (2), fast (2), integrate (2), parts (2), master (2), jax (2), meet (2), heavy (2), port (2), provides (2), covers (2), missed (2), http (2), weeks (2), workflow (2), talking (2), roland (2), complicated (2), care (2), outbound (2), inbound (2), sessions (2), year (2), since (2), very (2), react (2), later (2), performance (2), size (2), 1024x1024 (2), filename (2), lines (2), edit (2), projectfolder (2), sizes (2), qtmob (2), missing (2), room (2), speakers (2), schedule (2), sourcecode (2), c2gqtws_x (2), qtws (2), cache (2), deploy (2), enjoy (2), other_files (2), aspect (2), course (2), extension (2), qtc (2), enough (2), thought (2), screens (2), april (2), 2020 (2), outdated (2), website, collapse, subscriptions, report, privacy, join, subscribers, containing, bugs, showing, sample, qtworldsummit, rowlayout, 140, bool, elevation, minimumheight, mark, otherwise, endless, wrapping, wrapmode, wordwrap, column, spacing, minimumwidth, length, textselectbutton, emit, implementation, remarks, return, line, ontextchanged, ondone, ready, editing, clipboard, appears, cursor, notice, handlers, become, appear, side, distinguish, tell, fingers, textareas, waiting, fine, textfields, flickable, difficult, impossible, confused, befixed, supports, enabled, march, wiki, forum, lists, appbus, category, tabbar, swipeview, stackview, clone, appetizers, congrats, impression, qtcreatorbug, 18380, duplicate, symbolic, fix, directly, team, cool, feature, deploying, qqc2, styles, colors, welcome, correct, configured, easiest, uncheck, repos, asked, repo, gittower, disable, runs, _android, macosx, platform, force, qt5, bindings, qtactivity, management, systems, uem, touching, wanted, updates, folders, executable, exist, marked, translatable, translation, compiles, environment, linguist_de, languages, i18n, comfortable, r10e, gradle, devcies, macbookpro, multiple, versions, collision, named, exec, qtc_settings, editor, instances, launching, wait, accept, components, installation, pathes, offer, plan, post, licensing, independent, faq, downloading, maintenance, fresh, beta, going, esp, finding, reported, solved, situations, static, printreachabilityflags, scnetworkreachabilityflags, const, char, kshouldprintreachabilityflags, suppress, thename, got, parameters, ever, objectivec, reachable, reachableviawifi, wifi, reachableviawwan, informations, startup, dataserver, networkstatus, offline, method, yourclass, public, qobject, private, reachabilitydelegate, definition, libs, systemconfiguration, objective_sources, classes, bugreport, attachment, including, checkingnetwork, 56151, rely, had, reporting, en2, airplane, little, observing, configurations, filter, utun0, friend, reliable, 61587, gcc_warn_64_to_32_bit_conversion, qmake_mac_xcode_settings, jake, petroules, noticed, strange, behavior, applicationwindow, 640, 480, title, gridlayout, columns, rows, fillheight, delegate, daylabel, font, bold, opacity, accent, minimumpointsize, fontsizemode, horizontalalignment, alignhcenter, verticalalignment, alignvcenter, background, rectangle, centerin, min, radius, primary, math, tapped, hello, 61585, clicked, datepicker, mydrawer, onopened, onabouttohide, block, inserting, und, ugly, classified, fixed, 61581, underlying, accident, problem, closes, control, branch, wrong, technical, point, sure, accessing, properties, replaced, ekkesbtleexample, stay, tuned, explain, holding, welcomes, attendee, map, green, notifies, disconnected, levels, plug, configure, received, server, login, credentials, simulate, against, rest, local, database, plugged, 307630, every, tries, rid, message, similar, subscribes, header, initialize, characteristic, permissions, displays, gatt, sometime, human, readable, analyzed, logic, collected, interact, exactly, wit, option, rssi, discovers, searching, theblue, currently, supported, learn, deal, mini2, hd8, csg, conencted, solution, goggle, blocked, acces, past, partly, ndef, records, etc, attendees, trainings, keyboards, virtual, disappears, locks, usb, rs232, unique, mapped, switching, secure, teams, sharing, seen, restaurants, waiters, cash, included, compare, happens, existing, workbench, main, goal, devs, waiter, magentic, wondering, gray, behind, workarounding, follows, rules, thank, helped, cascades, woolley, murray, germany, speak, 2nd, loaded, analyzing, functionality, own, divide, manages, detailed, needed, enables, remembers, auto, errors, signals, robust, issue, notify, finds, instead, others, able, decided, avilable, doc, qtbluetooth, index, html, exploring, thanks, enterprises, smbs, streamline, powered, foward, munich, qtworldsummit2017, aspects, how, wienen, ceo, sys, success, mean, lazy, glad, present, knowing, employees, successfully, their, daily, stationär, ambulant, applications, hidden, reason, why, christian, feldbacher, through, yes, exists, 1990, embedded, qtwidgets, complete, experiences, say, performant, stable, challenges, platforms, windows, blackberry10, frameworks, angular, ionic, xamarin, decision, months, reach, down, instable, solutions, smp, focused, temporary, intermediate, safe, gitignore, asset_catalog_compiler, suddenly, root, idiom, marketing, scale, compile, xcode9, entry, points, second, tells, prefixed, qmake_asset_catalogs, pwd, qmake_asset_catalogs_app_icon, yourproject, cfbundleiconfile, cfbundleicons, appicons, worked, safari, firefox, instructions, needs, onto, recommended, free, jakepetroules, cpluke, worry, provided, cfbundleiconname, xxxxxxxxxxxxxxx, supply, provide, information, dev10510b1f7, training, qtws2019, tokyo, venue, until, published, sometimes, uploading, appstore, reboot, detect, takes, discussion, uuups, target, projectfile, orientations, forget, dotted, enable, directions, guarantee, space, borders, left, remember, nothing, lost, stretched, resize, fits, defaults, controller, scene, saved, anything, launchscreen, avoid, filenames, building, wants, general, generated, guide, simple, show, extremely, infos, mentioned, didn, dummies, useful, maciej, węglarczyk, grecko, developer, upload, export, fortunately, gives, wwdc, announced, requirement, over, much, implement, put, todo, forgot, cmake, cover, may, 2024, goods, receipt, allaboutmyb, 101, teatimer, jam, sercar10, servicecars, opendataspace, ekkesexpresscharts, keepass, bbm, meetings, drives, mobility, marketplace, classic, passport, computing, invocation, maps, workshops, introduction, w10,
Text of the page (random words):
tructure and src and howto port bt functionality into your own app the 2nd part will take some time because i m heavy loaded with customer projects meet ekke at conferences i ll speak about more complex mobile business apps at qt world summit 2017 in berlin you are from germany don t miss my talk at w jax bluetooth le in mobile business apps thx john and martin before starting with the first part i have to thank john murray and martin woolley john and martin helped me to master first steps into bluetooth and nfc on blackberry 10 cascades qt 4 8 download from the stores run on android 4 3 or greater for phones and tablets from google play store run on ios 8 2 or greater for iphone or ipads from apple app store run on amazon fire os from amazon app store here s the link to german amazon app store ekkes btle example app this app uses same customized qtquickcontrols2 as my other demo apps also same images and follows same project rules besides the drawer navigation there s a bottom navigation bar for easy access to the most important parts of the app here s the drawer wondering about the gray area where normaly it s only dimmed so you can see what s behind this is because of workarounding a qt 5 9 bug app features and devices scanner discover devices nearby explore services and characteristics heartrate heartrate monitor lock waiter lock with magentic keys nfc tag nfc reader via bt le help page about page main goal of this app is to help other devs with qt bt le for mobile all sources are available at github ekkes btle example app is also my workbench testing new device types and howto integrate into my apps as first i included a heartrate monitor because i could compare what happens from existing qt bt le example apps then i added addimat lock probably you have seen something like this at restaurants where waiters log in out at cash register using magnetic keys some of my customers are using addimat lock for teams sharing an android tablet or ipad each key has a unique id and is mapped to the user now switching between users is fast and secure most locks are only connected via usb or rs232 so i was happy to find addimat with bluetooth le custom services hint it s important to use a custom service and not connect as a hid like bt keyboards because then under ios the virtual keyboard disappears more info on addimat can be found here as next i added a nfc reader nfc tags are used per ex to identify attendees of conferences events trainings nfc works well on most android smartphones with an integrated nfc chip but when it comes to tablets even high end tablets as goggle pixel c miss the nfc chip ios devices have a nfc chip integrated but apple blocked acces for developers in the past starting with ios11 developers get partly access to nfc tags you can read ndef records etc but in all business apps i developed last years where nfc was used to identify persons or locations only the uuid was used so for some customers looking for a way to register from a mobile device perhaps an extra nfc reader conencted via bluetooth le is the only solution finally i found a device with some help from csg nfc reader can be customized and integrated into custom cases android ios smartphones tablets the app is running on android smartphones and android tablets screenshot from google pixel c tablet using nfc reader you add nfc to high end google pixel c tablet screenshot amazon fire hd8 tablet ekkes btle example also is running on ios screenshot from iphone and screenshot from ipad mini2 discover and explore bt le devices hint beacons are not supported yet have to learn howto deal with beacons from qt selecting first time the scanner ekkes btle example app discovers all bt le devices nearby while searching for devices there s a progress view see fire hd 8 screenshot above your devices isn t listed switch it off and on this helps in most cases then hit theblue button to discover again and add devices currently not listed tap on the red x button to clear the list and start again in the list you get rssi name mac address and current state from the list you can connect or disconnect devices tapping on a row will give you a popup menu first option select is only available for known device types heartrate lock nfc reader tapping on select will select this device as your default device store mac address in settings open the special page and do a connect explore services opens a detail page wit all the services connect disconnect does exactly this explore services here are all services found for addimat lock you get the name and service uuid tap on a row to see the characteristics of this service characteristics battery level characteristics from addimat lock battery level value can be read characteristics of addimat custom services custom characteristics can be read to get the current value or you can subscribe for notifications tap on a row to see the details or to interact tap on the red r button to read the current value tap on the red n button to subscribe to the values there s a switch if all values should be collected or if you only want to see the last one ekkes btle example app displays values as string hex or int please take a look at the documentation of your device or bluetooth gatt service sometime values are not human readable and must be analyzed by some business logic if a characteristic has write permissions you ll see a w button tapping on the w allows you to enter string or hex values and to write to the device heartrate monitor selecting a hr device a special page opens the header shows you name mac address and state and you can connect initialize services or disconnect from there the play button subscribes notifications and you ll see the hr values addimat lock manager addimat manager page works similar attention addimat lock can work as hid or as bt le with custom service ios doesn t know about the custom bt le service so every time you connect to addimat ios tries to connect as hid there s an easy way to get rid of this message first time enter 307630 then open addimat from settings bluetooth and tap in i then tap on ignore device now addimat is only used as a bt le device with custom services and characteristics here the notifications about magnetic keys plugged in or out are already subscribed progress bar is running no user was found for this addimat key in a real life app you would check the id against a rest service or a local database to simulate this you can add the mapping between key id and user please open mapping from settings menu while the configure popup is open the values from the keys are still received but now the app knows that you re configuring and you can enter the name do this for all your keys in a real life app this would be done at server site and the app does a login with key id as credentials next time you plug in the key ekkes btle example app knows the user select settings from menu above to see the default device address or to change battery levels ekkes btle example app notifies you if the device is disconnected nfc reader here s the nfc reader page notifications are subscribed to get the nfc tag ids nfc reader allows you to write values to the buzzer and led commands buttons buzzer and led lets you test this here s the menu you get from buzzer and here s the menu you get from led ekkes btle example app also uses the led if a tag id was found the led becomes green if not the led becomes red you can map the nfc tag ids same way as for the addimat magnetic keys holding the nfc tag on the nfc reader ekkes btle example app welcomes the attendee stay tuned for part 2 of the documentation where i ll explain project structure and source code open source all sources are available at github https github com ekke ekkesbtleexample tweet share on tumblr print opens in new window print like loading in demo apps mobile development qt for mobile issues and workarounds update qt 5 8 0 qt 5 9 0 june 23 2017 leave a comment please read at first my blog howto install qt 5 9 here are some issues and workarounds i found out while testing my apps under 5 9 update qml imports this is always the first step after moving a project from 5 8 to 5 9 i m updating the qml imports from a technical point you can use the old imports i m always doing search replace to update the imports then i m sure all my qml files are accessing the newest controls and properties updating from 5 8 to 5 9 i replaced import qtquick 2 8 import qtquick controls 2 1 import qtquick controls material 2 1 with import qtquick 2 9 import qtquick controls 2 2 import qtquick controls material 2 2 you can see the newest imports here using a source control system like git it s a good idea to do this in an extra branch then it s easier to go back if something went wrong drawer ignores taps outside the drawer normaly if you opened a drawer you can tap outside the drawer to close this works well up to 5 8 under 5 9 there s a bug tapping outside the drawer not always closes the drawer this would be no big problem because you can drag the drawer back or click inside the drawer unfortunately the drawer ignores the tap to close but the underlying dimmed page gets touch events so users can by accident do something unwanted i opened qtbug 61581 i found a workaround to block those unwanted touch events on the pages below the drawer by inserting another popup between drawer und pages below looks ugly but it works in the meantime the bug is classified as p1 so hopefully will be fixed soon drawer id mydrawer z 1 workaround onopened fakepopup open onabouttohide fakepopup close popup id fakepopup z 0 width appwindow width height appwindow height end workaround bug is only on android and ios tested from macos mouseclick is working monthgrid onclicked gets no events i m using monthgrid as part of my datepicker works well up to 5 8 but now under 5 9 i m getting no clicked events i opened qtbug 61585 and also found an easy workaround i added a mousearea applicationwindow visible true width 640 height 480 title qstr hello world id appwindow page id mypage gridlayout columns 3 rows 5 width appwindow width height appwindow height monthgrid id monthgrid layout fillheight true layout fillwidth true onclicked console log tapped on a date delegate label id daylabel text model day font bold model today true false opacity model month monthgrid month 1 0 color pressed material foreground model today material accent material foreground minimumpointsize 8 fontsizemode text fit horizontalalignment text alignhcenter verticalalignment text alignvcenter background rectangle anchors centerin parent width math min parent width parent height 1 2 height width radius width 2 color material primary visible pressed mousearea anchors fill parent onclicked console log mouse area click mouse label in month grid month grid grid layout mypage app window bug is only on android and ios tested from macos mouseclick is working ios release build getting thousands of warnings while testing my apps under 5 9 i noticed a strange behavior while doing a release build for ios i m getting many warnings with some help from jake petroules i found a workaround ios disable_warning name gcc_warn_64_to_32_bit_conversion disable_warning value no qmake_mac_xcode_settings disable_warning i opened qtbug 61587 ios isonline not reliable from qncm under android it s easy to know if the device is online qnetworkconfigurationmanager is your friend mnetworkconfigmanager new qnetworkconfigurationmanager this qdebug init is o n l i n e mnetworkconfigmanager isonline up to ios 10 2 1 with a little trick qncm also could be used by observing active configurations and filter out a config with name utun0 now with ios 10 3 2 i had devices also reporting an active configuration en2 even if iphone was in airplane mode it s better to rely on apple s reachability class see also qtbug 56151 and this great article about checkingnetwork status in ios here s my workaround by including reachability download sources from attachment to bugreport copy reachability classes to project ios src change your pro libs framework systemconfiguration ios objective_sources ios src reachability mm ios src reachabilitylistener mm add this include if defined q_os_ios include ios src reachabilitylistener h endif change class definition class yourclass public qobject if defined q_os_ios private utility reachabilitydelegate endif add a statuschanged method if defined q_os_ios void dataserver statuschanged utility networkstatus newstatus if newstatus utility notreachable offline else online endif now you re getting events if online state is changing on ios devices at startup you can check the current state qdebug i o s reachability init is o n l i n e status utility notreachable if you need some more informations you can check for different states if defined q_os_ios switch status case utility notreachable networkinfo append tr internet not reachable break case utility reachableviawifi networkinfo append tr wifi internet connection break case utility reachableviawwan networkinfo append tr mobile data internet connection break default break endif this was the first time ever i m using a objectivec class i got warnings from reachability mm about unused parameters you can suppress these warnings by adding pragma unused thename static void printreachabilityflags scnetworkreachabilityflags flags const char comment pragma unused flags pragma unused comment if kshouldprintreachabilityflags have tested reachability under different situations at customer site and it s working great updating from 5 8 to 5 9 was easier and has less issues as my last update from 5 7 to 5 8 i ll tweet ekkescorner if finding more issues while working on my apps also i have to check all the issues i reported from 5 8 which ones are solved and which are still open back install qt 5 9 next article qt creator intro home overview topics tweet share on tumblr print opens in new window print like loading in install qt mobile development qt for mobile install qt 5 9 june 23 2017 1 comment qt 5 9 release blog from qt qt quick controls 2 blog from qt this blog series is about the new qt quick controls 2 to develop mobile apps for android and ios before going on you should have read my blog esp on prepare for android ios and prepare devices besides qt 5 9 you ll also get a new qt creator 4 3 perhaps you already have an older version of qt already installed you can use the maintenance tool to update i m always doing a fresh install for each beta rc or release before downloading and installing you should know if you want to install the open source or commercial version of qt for application development please take a look at qt faq s and also my blog post about licensing and the new license for small startups and independent developers i m using the commercial version for startups see qt s offer here https www qt io start up plan read more about open source vs commercial also in my blog about install qt 5 6 her...
|