Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Opening the VLC Source in QtCreator
Forum Updated to NodeBB v4.3 + New Features

Opening the VLC Source in QtCreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 1 Posters 748 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.
  • R Offline
    R Offline
    rohanrajpal
    wrote on last edited by
    #1

    Hi

    I was trying to open the VLC source in QtCreator. First of all, I needed a .pro file to open a project.
    For this, I ran qmake -project in the root folder. This made a pro file using which I opened the project.

    However, I can't edit the qml files in design mode, errors like item could not be created or invalid property name come.
    Also I get a lot of file not found, unknown types even for simple things like QMenu used in source files.

    Most probably the project file has not been made properly.

    One thing I had to do before compiling on the command line was to set the PKG_CONFIG path
    export PKG_CONFIG_PATH=/opt/qt511/lib/pkgconfig/
    So I added that to the build variables and customised the build settings to match the method I use in the command line.
    I can build and run the project. But still cant edit qml in design mode.
    VLC Source I'm using:
    Github link
    Link to the project file:
    My pro file
    VLC Build Method:
    Link

    0_1552807981581_Screenshot from 2019-03-17 13-02-47.png
    0_1552808468470_Screenshot from 2019-03-17 13-10-45.png

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rohanrajpal
      wrote on last edited by
      #2

      I solved a lot of imports by including

      QT += quick
      QT += widgets
      

      And I guess this is the reason I can't edit files in design mode
      https://felgo.com/developers/forums/t/troubles-using-designer-in-qt-creator

      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