Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. weird Behaviour of QAudioDeviceInfo
Qt 6.11 is out! See what's new in the release blog

weird Behaviour of QAudioDeviceInfo

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 599 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QtCoder87
    wrote on last edited by
    #1

    My Setting:
    I am coding on Visual Studio 2019 with Qt Addin. I am debugging with Visual Studio too.

    Now for Testing my Network communication I have copied the programm to TEMP\Debug including Platform.
    the second Instance is working except of QAudioDeviceInfo .

    so there are two Applications running one from VSSolution\x64\Debug\MyProgramm.exe

    c:\TEMP\Debug\MyProgramm.exe

    QAudioDeviceInfo::availableDevices(QAudio::Mode::AudioInput) and AudioOutput

    on Debug with Visual Studio it lists all my Devices. But if I start it outside Visual Studio or Debug the exe with Visual Studio (c:\Temp\Debug\MyProgramm.exe) it shows nothing.

    The List all VideoDevices WinApi Code I found on StackOverflow works on both.

    File List of VSSolution Debug

    11.06.2020  12:16         9.712.128 botan.dll
    06.06.2020  13:26           135.168 FileIO.dll
    03.07.2020  19:12                 0 filelist_vs.txt
    17.06.2020  20:25           363.008 KoalaDNS.dll
    07.06.2020  18:14           215.552 KoalaMultimediaDevices.dll
    05.04.2020  22:50           230.400 KoalaSocket.dll
    30.06.2020  21:12           568.832 KoalaSSH.dll
    03.07.2020  18:55         7.633.920 KSecureDesktopQT.exe
    03.07.2020  18:05            10.924 KSecureDesktopQT.exp
    03.07.2020  18:55        43.482.924 KSecureDesktopQT.ilk
    30.06.2020  21:11            18.818 KSecureDesktopQT.lib
    03.07.2020  18:55        43.290.624 KSecureDesktopQT.pdb
    27.06.2020  14:10            78.848 KSecureWidgetDaemon.exe
    27.06.2020  14:10           701.520 KSecureWidgetDaemon.ilk
    27.06.2020  14:10         1.462.272 KSecureWidgetDaemon.pdb
    02.06.2020  03:59         2.153.472 libcrypto-1_1.dll
    02.06.2020  03:59           499.712 libssl-1_1.dll
    03.04.2020  14:46       112.750.080 opencv_world430d.dll
    28.06.2020  12:20            99.840 pthreadVC3d.dll
    08.06.2020  13:31         1.897.472 sqlite3-64.dll
    08.06.2020  13:27         1.947.136 sqlite3.dll
    28.06.2020  12:27         1.632.768 ssh.dll
    06.06.2020  20:43           376.878 testsound.wav
    14.06.2020  22:46           151.040 TinyProcess.dll
    28.06.2020  23:03           292.864 Utils.dll
    

    Filelist c:\temp\debug\

    03.07.2020  19:14    <DIR>          .
    03.07.2020  19:14    <DIR>          ..
    11.06.2020  12:16         9.712.128 botan.dll
    03.07.2020  16:04            16.808 dede.utf32
    06.06.2020  13:26           135.168 FileIO.dll
    03.07.2020  19:14                 0 filelist_temp.txt
    03.07.2020  13:58               450 friends.list
    17.06.2020  20:25           363.008 KoalaDNS.dll
    07.06.2020  18:14           215.552 KoalaMultimediaDevices.dll
    05.04.2020  22:50           230.400 KoalaSocket.dll
    30.06.2020  21:12           568.832 KoalaSSH.dll
    03.07.2020  18:55         7.633.920 KSecureDesktopQT.exe
    20.06.2020  15:08            10.924 KSecureDesktopQT.exp
    20.06.2020  16:52        44.308.484 KSecureDesktopQT.ilk
    17.06.2020  09:26            18.818 KSecureDesktopQT.lib
    20.06.2020  16:52        48.533.504 KSecureDesktopQT.pdb
    26.06.2020  16:45             1.255 KSecureDesktopQT.sln
    02.06.2020  03:59         2.153.472 libcrypto-1_1.dll
    02.06.2020  03:59           499.712 libssl-1_1.dll
    03.07.2020  18:07             1.087 main.conf
    03.04.2020  14:46       112.750.080 opencv_world430d.dll
    20.06.2020  17:05    <DIR>          platforms
    28.06.2020  12:20            99.840 pthreadVC3d.dll
    11.05.2020  10:46        12.950.648 Qt5Cored.dll
    11.05.2020  10:47        17.456.760 Qt5Guid.dll
    11.05.2020  17:44         1.984.632 Qt5Multimediad.dll
    11.05.2020  10:47         4.303.992 Qt5Networkd.dll
    11.05.2020  10:47        11.992.696 Qt5Widgetsd.dll
    08.06.2020  13:31         1.897.472 sqlite3-64.dll
    08.06.2020  13:27         1.947.136 sqlite3.dll
    28.06.2020  12:27         1.632.768 ssh.dll
    06.06.2020  20:43           376.878 testsound.wav
    14.06.2020  22:46           151.040 TinyProcess.dll
    22.06.2020  13:30            20.520 users.cdb
    08.06.2020  10:56            20.480 users.db
    28.06.2020  23:03           292.864 Utils.dll
                  33 Datei(en),    282.281.328 Bytes
    
     Verzeichnis von c:\TEMP\Debug\.vs
    
    20.06.2020  17:13    <DIR>          KSecureDesktopQT
                   0 Datei(en),              0 Bytes
    
    
    
     Verzeichnis von c:\TEMP\Debug\platforms
    
    20.06.2020  17:05    <DIR>          .
    20.06.2020  17:05    <DIR>          ..
    11.05.2020  10:47         1.559.160 qdirect2d.dll
    14.05.2020  06:41        21.614.592 qdirect2d.pdb
    11.05.2020  10:47         4.792.952 qdirect2dd.dll
    14.05.2020  06:41        25.088.000 qdirect2dd.pdb
    11.05.2020  10:47           845.432 qminimal.dll
    14.05.2020  06:41         7.081.984 qminimal.pdb
    11.05.2020  10:47         1.924.216 qminimald.dll
    14.05.2020  06:41         7.122.944 qminimald.pdb
    11.05.2020  10:47           752.248 qoffscreen.dll
    14.05.2020  06:41         6.041.600 qoffscreen.pdb
    11.05.2020  10:47         1.682.040 qoffscreend.dll
    14.05.2020  06:41         5.992.448 qoffscreend.pdb
    11.05.2020  17:41           564.344 qwebgl.dll
    14.05.2020  06:39         8.179.712 qwebgl.pdb
    11.05.2020  17:41         1.436.280 qwebgld.dll
    14.05.2020  06:39         9.449.472 qwebgld.pdb
    11.05.2020  10:47         1.493.624 qwindows.dll
    14.05.2020  06:41        20.557.824 qwindows.pdb
    11.05.2020  10:47         4.576.376 qwindowsd.dll
    14.05.2020  06:41        23.777.280 qwindowsd.pdb
                  20 Datei(en),    154.532.528 Bytes
    

    What am I missing? I have not included the hidden vs folder VS created while debugging the exe

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You did not deploy your application properly. At least the multimedia module plugins are missing.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Q Offline
        Q Offline
        QtCoder87
        wrote on last edited by
        #3

        thanks,

        but one question to windeploy can I say that windeploy moves the file to c:\my_custom_path\ ?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Copy your executable there and then call windeployqt from that folder.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved