Results 1 to 6 of 6

Thread: Basler Pylon 4 on QT5 with MSVC2010

  1. #1
    Join Date
    Jul 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Basler Pylon 4 on QT5 with MSVC2010

    I want to do some work with the Basler Camera Pylon 4 Library in QT5.4 using msvc2010 build.

    I cannot get the Genicam and Pylon libraries to build and link.

    Has anyone overcome these problems on the above platform, if so please send a copy of your successful pro file.

    thanks, all advice is appreciated.

  2. #2
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Basler Pylon 4 on QT5 with MSVC2010

    Hi,

    Take a look at Pylon docs as they explain how to compile a C++ application under Visual Studio.
    Also open the C++ samples solution and look at the include folders, included header files, the link folders and link libraries. Take a look to "Project -> YourProject Properties".
    Òscar Llarch i Galán

  3. #3
    Join Date
    Jul 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Basler Pylon 4 on QT5 with MSVC2010

    Thanks for the help.
    Sorry maybe I was unclear.
    My problem was building in QT5.4 using QT Creator under the mscv2010 compiler. The samples programs I have already built in Visual Studio 2010 and they build well in this environment using the same compiler. Its just that QT is my framework of choice and I would prefer to work here.

  4. #4
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Basler Pylon 4 on QT5 with MSVC2010

    Hi,

    What are you saying is that you want to use Qt Creator as IDE for your development. So you have to to the same as told you in my first post but in Qt Creator. Set where it have to find include files,...

    Take a look at this http://doc.qt.io/qt-5.5/qmake-project-files.html that explains you how to work with Qt Project files.
    Òscar Llarch i Galán

  5. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,315
    Thanks
    314
    Thanked 870 Times in 857 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Basler Pylon 4 on QT5 with MSVC2010

    If you have Visual Studio 2010 and install the Qt plugin for VS, then once you have a working VS project file for a Qt-based example, you can use the plugin to generate a .pro file.

  6. #6
    Join Date
    Jul 2016
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Basler Pylon 4 on QT5 with MSVC2010

    Hi BigThrum,

    I facing the same problem with you, is there any solution can share?
    You can try with these:

    INCLUDEPATH += $(PYLON_DEV_DIR)\include \
    \C:\Program Files\Basler\pylon 5\Development\Samples\C++\include
    LIBS += "-LC:\Program Files\Basler\pylon 5\Development\lib\Win32" \

    It allow me to get the pylon library but will get error: C1083: Cannot open include file: 'pylon/PylonIncludes.h': No such file or directory when debug.
    Last edited by mastercl; 5th July 2016 at 10:44.

Similar Threads

  1. Replies: 2
    Last Post: 23rd September 2014, 11:25
  2. Replies: 3
    Last Post: 29th June 2014, 01:25
  3. qt 5.0 windows x64-msvc2010 very slow
    By maitai in forum Qt Programming
    Replies: 0
    Last Post: 26th January 2013, 16:51
  4. My QT project does not run on MSVC2010
    By ehnuh in forum Installation and Deployment
    Replies: 3
    Last Post: 18th October 2012, 12:04
  5. Build Qwt with msvc2010 fails
    By Zeyneb in forum Qwt
    Replies: 2
    Last Post: 11th November 2011, 06:50

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.