Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
13.9k Topics 61.7k Posts
  • 0 Votes
    2 Posts
    214 Views
    waduW

    How can I select the top front microphone on an iOS device using Qt? I’m currently using some code to list the available audio input devices, but it only detects a single default microphone. I need to find a way to specifically choose the top front microphone instead of the default bottom one for my application. Could someone explain how to achieve this or point me to the relevant documentation?

  • How can I create a card using Qt for the phone

    Unsolved
    3
    1 Votes
    3 Posts
    142 Views
    C

    @sierdzio How

  • 0 Votes
    4 Posts
    154 Views
    SGaistS

    Hi,

    Start by stopping using threads. Qt is an asynchronous framework which provides the QSerialPort class that you can use to communicate with the serial port without requiring threads.
    This will simply things quite a lot.
    Also, don't try to update GUI elements from a different thread than the GUI thread. While it might be working now, it's just a happy coincidence and can break at any time.

  • Periodically check a url

    Unsolved
    7
    0 Votes
    7 Posts
    199 Views
    E

    update2: tested with an intent casting the web on a chrome with an intent, once web is showing, the activity on back stops. and when we recover the view of the original apk, checking comes up again
    seems is a focus problem

  • How to hide mouse cursor while running application?

    Locked Unsolved
    2
    0 Votes
    2 Posts
    74 Views
    jsulmJ

    Please don't double post! You asked this now two times in same subforum.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • IOS Photo Gallery View in Qt

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    P

    Even this thread is older, this is found more often, so here is another missing piece in the puzzle:
    Since SGaist pointed out that the QFileDialog should work, internally it had to be redirected to the iOS Backend and there is some runtime missing, somehow that needs to be included, so add to the qmake
    'QTPLUGIN += qiosnsphotolibrarysupport'
    (On a closer look at the runtime errors, there might be a
    'QIOSFileDialog: Could not resolve Qt plugin that gives access to photos on iOS'-error
    on the Application Output.
    Also take care of the info.plist with NSPhotoLibraryUsageDescription.

  • Qt 6.7.1 and Qt 6.6.1 android SoftKeyboard Handling

    Unsolved
    3
    1 Votes
    3 Posts
    303 Views
    A

    @cassie2698bratt said in Qt 6.7.1 and Qt 6.6.1 android SoftKeyboard Handling:

    Customizing Layout with Window.setSoftKeyboardHandling:

    Qt provides the Window.setSoftKeyboardHandling property to define how the application window reacts to the software keyboard.
    Setting it to Window.SoftKeyboardHandling.StayOnTop might keep the text input above the keyboard while potentially requiring some adjustments to ensure other UI elements remain accessible.

    Hi @cassie2698bratt can you, please, provide the link to the docs where this is mentioned?

  • 0 Votes
    1 Posts
    174 Views
    No one has replied
  • 0 Votes
    3 Posts
    206 Views
    A

    Hi Patrick, I have already done as you say, but (on Android) this does not lead to the headset mic being actually used.
    As I explained in my post, even the provided AudioSource Qt example (which includes the logic you mentioned) fails on Android

    I have opened a bug here

  • 0 Votes
    2 Posts
    103 Views
    SGaistS

    Hi,

    Since you are mentioning Boot2Qt which is a commercial offering, I would recommend contacting the Qt Company directly for support.

  • Deployment app on iOS 17 (above) devices

    Solved
    10
    0 Votes
    10 Posts
    515 Views
    ekkescornerE

    @Tao-Lei thx. so we can now deploy and run on iOS 17 devices, but to see the application output, we must use Xcode. hopefully apple enhances the tooling support

  • Opening QT from remote desktop connection

    Unsolved
    13
    0 Votes
    13 Posts
    10k Views
    duxingmengshouD

    I encountered the same problem these two days. I finally solved the problem by uninstalling the original tightvncserver and installing tigervnc. This should be a simple and worthwhile method. The VNC Viewer I use in Windows system is also tigerVNC.

  • 0 Votes
    3 Posts
    131 Views
    O

    @delamor
    If you have the root access on your android device, try the following code. The code is used to change Selinux behavior "enforcing" to "permissive".

    setenforce 0

    After that your Qt app will work properly . Then you should check the SeLinux logs and share them with us.

    Please write me the details of your Android device. Are you using custom AOSP build or stock firmware?

    @patrick521
    What you mentioned is not suitable for Android.

  • 0 Votes
    1 Posts
    100 Views
    No one has replied
  • application runs in C++ or in the original system language

    Unsolved
    12
    0 Votes
    12 Posts
    288 Views
    C

    @J-Hilk thank you so much

  • Build errors in QGC for android due to JDK.

    Moved Unsolved
    3
    0 Votes
    3 Posts
    205 Views
    S

    Hey there thanks, I fixed the code as you suggested but as the build is almost done , I face the following error:

    Application binary: QGroundControl
    Android build platform: android-34
    Install to device: No
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\ScreenTools\ScreenTools.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ClickableColor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\DeadMouseArea.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ParameterEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\JoystickThumbPad.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\GPSIndicatorPage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MissionItemStatus.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FactSliderPanel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\OfflineMapButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TerrainStatus.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMenuSeparator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SubMenuButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCColoredImage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMenu.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MissionItemIndexLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MissionItemMapVisual.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ToolIndicatorPage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\LabelledComboBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FlightModeDropdown.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCTextField.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MainWindowSavedState.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PipView.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\AppMessages.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\LogReplayStatusBar.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FlightModeMenuIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ExclusiveGroupItem.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FactSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\InstrumentValueLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\OfflineMapEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCRoundButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FileButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SettingsGroupLayout.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\InstrumentValueEditDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PIDTuning.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCToolInsets.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\VehicleSummaryRow.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MAVLinkChart.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\CameraSection.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\LabelledButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\CameraCalcCamera.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\OfflineMapInfo.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMenuItem.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SimpleItemMapVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCFileDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCSwitch.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\KMLOrSHPFileDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\AltModeDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\BatteryIndicatorContentItem.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\HorizontalFactValueGrid.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCPopupDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SignalStrength.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SliderSwitch.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\AxisMonitor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RemoteIDIndicatorPage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\AutotuneUI.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMovableItem.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SetupPage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RCChannelMonitor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\IndicatorButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\CameraCalcGrid.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\BatteryIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SurveyMapVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ToolStrip.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MainStatusIndicatorOfflinePage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCFlickable.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FlightModeIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\DropPanel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCComboBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TransectStyleComplexItemStats.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\HackFileDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCTabButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\GeoFenceMapVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PreFlightCheckModel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMouseArea.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCSimpleMessageDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\APMSubMotorDisplay.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCDynamicObjectManager.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\DropButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MAVLinkMessageButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMapLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PlanEditToolbar.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCListView.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ContentAreaCalc.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FirstRunPrompt.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ToolStripHoverButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TransectStyleComplexItemEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCCheckBoxSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCGroupBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCOptionsComboBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\HeightIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SelectableControl.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCColumnButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TransectStyleComplexItemTabBar.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ModeSwitchDisplay.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RallyPointMapVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\LabelledLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCCheckBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCToolBarButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCMarqueeLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\EditPositionDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MainStatusIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MissionCommandDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCTabBar.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\SectionHeader.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\VehicleRotationCal.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RallyPointItemEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\QGCRadioButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TransectStyleMapVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PipState.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\AnalyzePage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ParameterEditorDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\TransectStyleComplexItemTerrainFollow.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MultiRotorMotorDisplay.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\ParameterDiffDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RCToParamDialog.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\InstrumentValueValue.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\GeoFenceEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PreFlightCheckButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\MissionItemEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\RallyPointEditorHeader.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\PreFlightCheckGroup.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\Controls\FlightModeMenu.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MissionItemIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\PolygonEditor.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CustomMapItems.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\FlightMap.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCMapCircleVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CenterMapDropPanel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MissionItemView.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\PhotoVideoControl.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MissionItemIndicatorDrag.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CompassHeadingIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCAttitudeWidget.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MapScale.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MissionLineView.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCMapPolygonVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\SplitIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CompassDial.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCCompassWidget.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MapFitFunctions.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCAttitudeHUD.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCPitchIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCMapPolylineVisuals.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\ProximityRadarMapView.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\PlanMapItems.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\MapLineArrow.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\VehicleMapItem.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCVideoBackground.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\QGCArtificialHorizon.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CameraTriggerIndicator.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightMap\CenterMapDropButton.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactTextFieldGrid.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactCheckBoxSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\LabelledFactTextField.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactBitmask.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\LabelledFactSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactLabel.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactComboBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactCheckBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactTextField.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactValueSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactTextFieldSlider.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\FactTextFieldRow.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\LabelledFactComboBox.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FactControls\AltitudeFactTextField.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\PX4\BatteryParams.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\PX4\SensorSetupPage.qml:The system cannot find the file specified.
    Cannot open input file C:\Users\User\qgroundcontrol\src\QmlControls\QGroundControl\FlightDisplay\ObstacleDistanceOverlay.qml:The system cannot find the file specified.
    Cannot open input file
    Warning: QML import could not be resolved in any of the import paths: QGroundControl.ScreenToolsController
    Warning: QML import could not be resolved in any of the import paths: QGroundControl.QGCMapEngineManager
    Warning: QML import could not be resolved in any of the import paths: QGroundControl.AutoPilotPlugin
    Warning: QML import could not be resolved in any of the import paths: QGroundControl.Viewer3D
    Warning: QML import could not be resolved in any of the import paths: org.freedesktop.gstreamer.GLVideoItem
    Downloading https://services.gradle.org/distributions/gradle-8.7-bin.zip
    ............10%.............20%.............30%.............40%............50%.............60%.............70%.............80%.............90%............100%

    Welcome to Gradle 8.7!

  • Error TCP and UDP

    Unsolved
    8
    0 Votes
    8 Posts
    297 Views
    P

    update
    i make it pair to pair (IP) not broadcast and the communication UDP works
    (still idk why pair to pair works but broadcast do not)

    the problem now is the TCP why its stuck
    @piervalli @jsulm any idea?

  • Android Scaling / Keyboard Problem

    Solved
    3
    0 Votes
    3 Posts
    207 Views
    D

    Well, I didn't find a way to not create a temporary QApplication to get the screen size, so I did the next best thing that I could think of and that is to write the QT_SCALE_FACTOR value out to a file on the Android device, then display a message to the user to "reopen the app", and then exit the app. After the user reopens the app, check to see if the file exists, if it exists then read the scale factor value, call qputenv with the scale factor value read from file. This avoids creating the temporary QApplication once the scale factor has been written to the file and re-read every time the app is opened. Here's the code to do all that:

    #ifdef Q_OS_MOBILE const char *qtScaleFactor = "QT_SCALE_FACTOR"; // Check to see if the QT_SCALE_FACTOR environment variable is set and is not empty if (!qEnvironmentVariableIsSet(qtScaleFactor) || qEnvironmentVariableIsEmpty(qtScaleFactor)) { QString scaleFactor; // Try to read the QT_SCALE_FACTOR from file first if (!FileIO::readQtScaleFactor(scaleFactor)) { // Temporary QApplication to get width and height of screen 0 QApplication *temp = new QApplication(argc, argv); double width = temp->screens().at(0)->availableSize().width(); double height = temp->screens().at(0)->availableSize().height(); double scaleWidth = width / 800.0; double scaleHeight = height / 480.0; scaleFactor = QString::number(min(scaleWidth, scaleHeight)); qputenv(qtScaleFactor, scaleFactor.toLocal8Bit()); // Write the QT_SCALE_FACTOR to file bool writeSuccessful = FileIO::writeQtScaleFactor(scaleFactor); // If the write was successful, display a message to the user to reopen the "AppName" App if (writeSuccessful) { tempMsgBox("Screen Scale Factor Set\nfor \"AppName\" App.\n\nPlease Reopen \"AppName\" App.", nullptr, 5000, 36); // Delay and process events to display MessageBox QElapsedTimer elapsedTimer; elapsedTimer.start(); do { QCoreApplication::processEvents(); } while (elapsedTimer.elapsed() < 5500); elapsedTimer.invalidate(); delete temp; return 0; // Exits the App } delete temp; } else { // QT_SCALE_FACTOR was sucessfully read from file, so just set the environment variable qputenv(qtScaleFactor, scaleFactor.toLocal8Bit()); } } #endif // Primary QApplication for the real application QApplication app(argc, argv);

    This code is only run on a mobile device (e.g. Android and iOS), not Windows or MacOS (Desktop). The deletion of the temporary QApplication was postponed until after the QMessageBox was displayed since it was an error not to have a QApplication before creating a QWidget. And, the QElapsedTimer based do-loop for calling QCoreApplication::processEvents() was necessary to display the QMessageBox, accept the OK button and/or timeout after 5 seconds, and dismiss the QMessageBox automatically.

    This was my solution and I'm pretty happy with it. I hope it helps someone else.

  • 0 Votes
    3 Posts
    158 Views
    J

    @jsulm Thank you. Looking deeper into the actual error message show that the generated protobuf library was not automatically linked with the generated gRPC library when compiling for Android.

    Adding this to the CMakeList.txt fixed that problem.

    # Existing code qt_add_protobuf(RouteGuideLib QML QML_URI routeguide.pb PROTO_FILES ${protofile} ) qt_add_grpc(GrpcClient CLIENT PROTO_FILES ${protofile} ) # added to fix the problem target_link_libraries(GrpcClient PRIVATE RouteGuideLib Qt6::Core Qt6::Protobuf Qt6::Grpc )