Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. [Solved]Qt cant find header, despite proper path(?)(libvlc-qt)
Forum Updated to NodeBB v4.3 + New Features

[Solved]Qt cant find header, despite proper path(?)(libvlc-qt)

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 1 Posters 1.7k 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.
  • P Offline
    P Offline
    prawdziwy-sok
    wrote on last edited by
    #1

    Hi, so my struggle with vlc continues. I have decided to give [url=http://projects.tano.si/vlc-qt]libvlc-qt[/url] a go, and, as you can probably guess, it's not working.
    I'm running windows 8.1, using microsoft visual c++ compiler 12.0 for amd64, CDB for x64, with Qt 5.3.0(msvc2013_64), qt creator

    my project file:
    @
    #-------------------------------------------------

    Project created by QtCreator 2014-05-22T23:35:22

    #-------------------------------------------------

    QT += core

    QT -= gui

    TARGET = libvlcqt
    CONFIG += console
    CONFIG -= app_bundle

    TEMPLATE = app

    SOURCES += main.cpp

    win32: LIBS += -L$$PWD/../../../Programs/Qt/libvlc_qt/libvlc_qt_0_9_0_win64_msvc2012/lib/ -lvlc-qt

    INCLUDEPATH += $$PWD/../../../Programs/Qt/libvlc_qt/libvlc_qt_0_9_0_win64_msvc2012/include
    DEPENDPATH += $$PWD/../../../Programs/Qt/libvlc_qt/libvlc_qt_0_9_0_win64_msvc2012/include
    @

    and my cpp file:
    @
    #include <QCoreApplication>
    #include <iostream>

    using namespace std;
    int main(int argc, char *argv[])
    {
    QCoreApplication a(argc, argv);

    cout<<"dupa"<<endl;
    int e;
    cin>>e;
    
    return a.exec&#40;&#41;;
    

    }
    @

    They work brilliantly, debugger works, breakpoints work, so I'd quess that I have everything setup properly.
    However, as I mentioned, I want to use libvlc-qt, which i have downloaded and extracted into my
    E:\Programs\Qt\libvlc_qt\libvlc_qt_0_9_0_win64_msvc2012 directory. (thats the one I've added in my project file). When I add
    #include <vlc-qt/Config.h> (which qt sees for sure, as autofill works)
    i get the "E:\Data\QTprojects\libvlcqt\main.cpp:3: error: C1083: Cannot open include file: 'vlc-qt/Config.h': No such file or directory" errror when trying to build. Why might that be? is qt built with msvc 2013 incompatible with library that was built with msvc 2012?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      prawdziwy-sok
      wrote on last edited by
      #2

      Not solution, but source of the problem- vlc-qt is dependant on libvlc, and my version of libvlc is compatible with qt > 4.6 but less than 5.0.

      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