Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How can I import path to QT Creator?
Forum Updated to NodeBB v4.3 + New Features

How can I import path to QT Creator?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 977 Views
  • 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.
  • J Offline
    J Offline
    JANG SOONMYUN
    wrote on last edited by
    #1

    I wanted to use QtMultimedia 5.9 in QT Creator, but there was an error:

    QML module not found QtMultimedia
    Import paths:
    D:/qt/tools/qtcreator/bin/qml

    Here I want to add other path which includes QtMultimedia module. But I made a QT project on Visual Studio. And there is no .pro file to import module path.

    How can I add path to QT Creator?
    (For visual studio, importing QtMultimedia works well. I just want to use QT Creator because of its convenient GUI.)

    jsulmJ 1 Reply Last reply
    0
    • J JANG SOONMYUN

      I wanted to use QtMultimedia 5.9 in QT Creator, but there was an error:

      QML module not found QtMultimedia
      Import paths:
      D:/qt/tools/qtcreator/bin/qml

      Here I want to add other path which includes QtMultimedia module. But I made a QT project on Visual Studio. And there is no .pro file to import module path.

      How can I add path to QT Creator?
      (For visual studio, importing QtMultimedia works well. I just want to use QT Creator because of its convenient GUI.)

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

      @JANG-SOONMYUN said in How can I import path to QT Creator?:

      I just want to use QT Creator because of its convenient GUI

      For QtCreator you need .pro file (you can use CMake also).
      How do you import QtMultimedia in your QML app?
      As shown here: https://doc.qt.io/qt-5.9/qtmultimedia-qmlmodule.html
      it should be:

      import QtMultimedia 5.8
      

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

      J 1 Reply Last reply
      2
      • jsulmJ jsulm

        @JANG-SOONMYUN said in How can I import path to QT Creator?:

        I just want to use QT Creator because of its convenient GUI

        For QtCreator you need .pro file (you can use CMake also).
        How do you import QtMultimedia in your QML app?
        As shown here: https://doc.qt.io/qt-5.9/qtmultimedia-qmlmodule.html
        it should be:

        import QtMultimedia 5.8
        
        J Offline
        J Offline
        JANG SOONMYUN
        wrote on last edited by
        #3

        @jsulm Thank you for your reply. So, it is necessary to create .pro file to import the module.

        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 Extensions
        • Unsolved