Could not compile QtChats on Windows



  • Hi,
    i have dowloaded QtCharts module and want to compile it on my own.
    On OS X everything works as expected but not on windows. I always get the compiler error "Undefined Interface".
    The includes are also marked as "not found" (see Screenshot).

    Is there anything that i have to take care of when compiling on windows or has anybody got the same problem ?

    My Windows Machine has the following setup:
    Windows 7
    Visual Studio 2015
    Qt 5.6 (VS2015 , 32 bit)



  • I'm running it on VS2013 nad Qt 5.5 but if it can help this is the script I use to build it:

    pushd C:\
    CALL "C:/Qt/5.5/msvc2013/bin/qtenv2.bat"
    CALL "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat"
    popd
    echo on
    qmake CONFIG+=debug_and_release
    nmake debug
    nmake release
    nmake install
    

    Of course you'll have to adjust the "C:/Program Files (x86)/Microsoft Visual Studio 12.0" part and the "C:/Qt/5.5/msvc2013" part but it should do the trick.

    Run those commands from the root directory of the repository (the one where .gitignore is)




Log in to reply
 

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