Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • fixes_4 protected
  • fixes_3_0 protected
  • fixes_3_2a protected
  • GtkPartialMerge protected
  • wstaskdialog protected
  • fixes_2_2 protected
  • calendar-minmaxdate protected
  • FpDebug_NameThreadForDebugging protected
  • NoGwlID protected
  • masks-unit-rework-wqfilenameend protected
  • CheckCombobox_to_LazControls protected
  • comboex_interface protected
  • revert-1a472284 protected
  • fixes_2_0 protected
  • comboboxreadonly protected
  • macosfullkeyboardaccess protected
  • listviewsortindicator protected
  • fixes_1_8 protected
  • HiDPIImageList protected
  • lazarus_4_0RC3 protected
  • lazarus_3_8 protected
  • lazarus_4_0RC2 protected
  • lazarus_4_0_RC_1 protected
  • t-fixes-4
  • main_4_99 protected
  • lazarus_3_6 protected
  • lazarus_3_4 protected
  • lazarus_3_2 protected
  • lazarus_3_0 protected
  • lazarus_3_0_RC2 protected
  • t-fixes-3
  • main_3_99 protected
  • lazarus_3_0_RC1 protected
  • lazarus_2_2_6 protected
  • lazarus_2_2_4 protected
  • lazarus_2_2_2 protected
  • lazarus_2_2_0 protected
  • lazarus_2_2_0_RC2 protected
  • Feature_branch_ComboEx
40 results

cbindings

  • Clone with SSH
  • Clone with HTTPS
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..
    src
    COPYING.TXT
    Qt5Pas.pro
    README.TXT
    TODO
    qt5.pas
    Compile Pascal Qt Interface from source:
    ========================================
     * Download and unpack the sources 
     * cd into the resulting unpacked directory
     * This directory contains amongs other things a Qt Project File Qt5Pas.pro
     * run qmake -query to inspect your Qt installation
     * qmake (creates Makefile based upon Qt5Pas.pro)
     * make (compiles)
     * make install (obtain super user rights with sudo or su)
     * make clean (cleans directory, do this when switching Qt versions)
    
    Linux Note:
    -----------
    To use a different Qt then the system wide Qt,
    use /PathToOtherQt/bin/qmake and learn about LD_LIBRARY_PATH
    (export LD_LIBRARY_PATH=/PathToOtherQt/lib)
    
    
    Mac OsX Note: 
    -------------
    qmake may create a xcode project 
    instead of a g++ Makefile 
    use xcodebuild to compile
    
    to create a g++ Makefile:
    QMAKESPEC=macx-g++ qmake
    
    The qmake project is configured to create a 
    framework instead of a plain library 
    
    Windows Note:
    -------------
    Verify the QTDIR,QMAKESPEC environment variables.
    e.g. QMAKESPEC=win32-g++ and that make -v
    and gcc -v produce the expected result.
    Be sure that mingw32 shipped with Qt5 is in PATH,
    so bindings are built with correct mingw32 version.
    eg. for Qt-5.6.1 you can set all paths in cmd and 
    build bindings.
    
    set PATH=C:\Qt5Directory\Tools\mingw492_32\bin;C:\Qt5Directory\5.6\mingw49_32\bin;%PATH%
    qmake -query
    qmake
    mingw32-make
    
    
    
    Installation
    ============
    When compiling from source,
    you can use make install.
    
    When using the binary packages,
    see below. 
    
    If preferred, first strip
    the libraries before installation.
    
    Linux Binary Installation
    -------------------------
    The libraries should be copied
    to the distribution specific 
    system library directory
    e.g. /usr/lib. 
    Ensure the symlinks are correct.
    The .so.OneDigit link is used when running a program.(google soname)
    The .so link is used when linking during development
    
    Windows Binary Installation
    ---------------------------
    The dll can be copied to e.g. 
    the Qt bin directory, as this 
    directory is already in the 
    PATH environment variable.
    
    Mac OsX Binary Installation
    ---------------------------
    The provided package installs
    to /Library/Frameworks