Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. vlc-qt giving error when compiling
Qt 6.12 LTS is out! See what's new in the release blog

vlc-qt giving error when compiling

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 4 Posters 2.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #3

    thanks for your annswer @jsulm

    I try at first to work on linux. It Worked. I try to compile my project for windows and never succeed. I try by reworking the project on windows to avoid cross plateform compiling.

    I try to compile vlc-qt by myself on windows but i cant make cmake to work even by following what vlc-qt advise. Compiling on linux worked.

    jsulmJ 1 Reply Last reply
    0
    • ? A Former User

      thanks for your annswer @jsulm

      I try at first to work on linux. It Worked. I try to compile my project for windows and never succeed. I try by reworking the project on windows to avoid cross plateform compiling.

      I try to compile vlc-qt by myself on windows but i cant make cmake to work even by following what vlc-qt advise. Compiling on linux worked.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @polohpi said in vlc-qt giving error when compiling:

      I try to compile vlc-qt by myself on windows but i cant make cmake to work even by following what vlc-qt advise

      So, you actually do not have vlc-qt libs because you cannot compile it? Then of course you will not be able to compile any project using vlc-qt. You first need to build vlc-qt. You can post your problems building vlc-qt here. Maybe we can help to solve those.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      ? 1 Reply Last reply
      0
      • jsulmJ jsulm

        @polohpi said in vlc-qt giving error when compiling:

        I try to compile vlc-qt by myself on windows but i cant make cmake to work even by following what vlc-qt advise

        So, you actually do not have vlc-qt libs because you cannot compile it? Then of course you will not be able to compile any project using vlc-qt. You first need to build vlc-qt. You can post your problems building vlc-qt here. Maybe we can help to solve those.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #5

        @jsulm i have the lib but precompiled direclty from the vlc-qt website.

        Here is the error that i have when compiling it myself on windows: https://pastebin.com/BaDDwS8x

        This is the CmakeError.log in /build

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

          Hi,

          If you want to build with MinGW I would recommend using the version that matches the one used for Qt.

          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
          0
          • SGaistS SGaist

            Hi,

            If you want to build with MinGW I would recommend using the version that matches the one used for Qt.

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #7

            @SGaist Thanks for the reply. The thing is that is cant even compile qt-vlc on windows. And cross compiling my .pro doenst work either on linux or i never found a tutorial for my case.

            jsulmJ 1 Reply Last reply
            0
            • ? A Former User

              Hello all

              I downloaded vlc-qt (vlc-qt.tano.si) and i try to run a exemple (from here https://github.com/vlc-qt/examples). I downloaded the stable version for windows and i specified the path to those library in my src.pro. When i compile i gets some error that i dont understand. Note that it works fine on linux, I work with Qt editor.

              C:\Users\Paul\Desktop\examples-master\build-simple-player-Desktop_Qt_6_2_0_MinGW_64_bit-Debug\src/../../simple-player/src/SimplePlayer.cpp:27: undefined reference to __imp__ZN11VlcInstanceC1ERK5QListI7QStringEP7QObject'

              here is my .pro fil : https://pastebin.com/5z6iwT1P

              I'm out of idea. Please someone help me.

              Thanks

              eyllanescE Offline
              eyllanescE Offline
              eyllanesc
              wrote on last edited by
              #8

              @polohpi According to what you reviewed vlc-qt only provides the 32-bit binaries for mingw but you are using mingw for 64-bit.

              If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

              ? 1 Reply Last reply
              0
              • ? A Former User

                @SGaist Thanks for the reply. The thing is that is cant even compile qt-vlc on windows. And cross compiling my .pro doenst work either on linux or i never found a tutorial for my case.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #9

                @polohpi said in vlc-qt giving error when compiling:

                The thing is that is cant even compile qt-vlc on windows

                Please try with MinGW provided by Qt installer to make sure you're using exactly same compiler as you use for Qt.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                ? 1 Reply Last reply
                0
                • eyllanescE eyllanesc

                  @polohpi According to what you reviewed vlc-qt only provides the 32-bit binaries for mingw but you are using mingw for 64-bit.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #10

                  @eyllanesc indeed there is a 32 bit version for mingw and 64 bit version for MSVC. I didnt know what to choose. So if i try with MSVC how can i do it ?

                  1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @polohpi said in vlc-qt giving error when compiling:

                    The thing is that is cant even compile qt-vlc on windows

                    Please try with MinGW provided by Qt installer to make sure you're using exactly same compiler as you use for Qt.

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #11

                    @jsulm how can i specify cmake to use qt'mingw ? (do i get it right ?). I can make things on linux but i'm lost on windows when it come to compile stuff.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by A Former User
                      #12

                      I have changed the compiler in qt editor to the msvc2015. I have a new error : "rc.exe" impossible to execute. Note that rc.exe is only in C:\Program Files (x86)\Windows Kits\10\bin

                      UPDATE :

                      After pointing to a specific folder where rc.exe is, i add the dll to my release folder and tryed to launch my exe. Nothing happened. Even when i try to run it via qt editor it seems to crash. I dont know how to solve the issue.

                      jsulmJ 1 Reply Last reply
                      0
                      • ? A Former User

                        I have changed the compiler in qt editor to the msvc2015. I have a new error : "rc.exe" impossible to execute. Note that rc.exe is only in C:\Program Files (x86)\Windows Kits\10\bin

                        UPDATE :

                        After pointing to a specific folder where rc.exe is, i add the dll to my release folder and tryed to launch my exe. Nothing happened. Even when i try to run it via qt editor it seems to crash. I dont know how to solve the issue.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #13

                        @polohpi said in vlc-qt giving error when compiling:

                        I have changed the compiler in qt editor to the msvc2015

                        Did you also install Qt for that compiler?
                        You can't mix binaries created using incompatible compilers.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        ? 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @polohpi said in vlc-qt giving error when compiling:

                          I have changed the compiler in qt editor to the msvc2015

                          Did you also install Qt for that compiler?
                          You can't mix binaries created using incompatible compilers.

                          ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #14

                          @jsulm i think so. I saw that i needed this compiler so i modify the install of qt to add msvc ect

                          jsulmJ 1 Reply Last reply
                          0
                          • ? A Former User

                            @jsulm i think so. I saw that i needed this compiler so i modify the install of qt to add msvc ect

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #15

                            @polohpi said in vlc-qt giving error when compiling:

                            so i modify the install of qt to add msvc ect

                            I'm not sure what you mean, so I will ask again: did you install Qt for msvc2015?
                            There is no need to modify anything, just install Qt for msvc2015.

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            ? 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @polohpi said in vlc-qt giving error when compiling:

                              so i modify the install of qt to add msvc ect

                              I'm not sure what you mean, so I will ask again: did you install Qt for msvc2015?
                              There is no need to modify anything, just install Qt for msvc2015.

                              ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by A Former User
                              #16

                              @jsulm i think i do installed it.

                              Capture.png

                              1 Reply Last reply
                              0

                              • Login

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