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

  • 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);

    int 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?

  • 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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.