Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qwt from Windows to Linux Porting

Qwt from Windows to Linux Porting

Scheduled Pinned Locked Moved Unsolved QtonPi
39 Posts 5 Posters 15.6k Views 3 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.
  • sierdzioS sierdzio

    Why do you say you're compiling Qt 5.7.1 when the output you paste indicates 5.11.1?

    Anyway, I've never seen that error, I don't know how to fix it.

    S Offline
    S Offline
    shivaVMC
    wrote on last edited by
    #28

    @sierdzio
    Hi ,
    Finally it got compiled...I m success on compiling and installing Qt-V5.11.1
    Now,please suggest me that which qmake shall I take to compile qwt-6.1.3

    I m finding two qmake

    1. /home/user/raspi_QtBuild/Qtver-5.11.1/qtbase/bin/qmake
    2. /home/user/raspi_QtBuild/qt5/bin/

    Thanks In advance for your help& support.

    1 Reply Last reply
    1
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #29

      @shivaVMC said in Qwt from Windows to Linux Porting:

      -hostprefix ~/raspi_QtBuild/qt5

      This is your host prefix, so you should use the qmake from /home/user/raspi_QtBuild/qt5/bin/.

      You can verify which Qt version that qmake comes from by running:

      /home/user/raspi_QtBuild/qt5/bin/qmake -version
      

      (Z(:^

      S 1 Reply Last reply
      3
      • sierdzioS sierdzio

        @shivaVMC said in Qwt from Windows to Linux Porting:

        -hostprefix ~/raspi_QtBuild/qt5

        This is your host prefix, so you should use the qmake from /home/user/raspi_QtBuild/qt5/bin/.

        You can verify which Qt version that qmake comes from by running:

        /home/user/raspi_QtBuild/qt5/bin/qmake -version
        
        S Offline
        S Offline
        shivaVMC
        wrote on last edited by
        #30

        @sierdzio
        Everything went fine,but when I m performing
        /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile Myproject.pro
        .qmake.stash is created

        then when I perform
        make -j4
        I get below error's ,please suggest on this

        /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'

        /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `qTriangulate(QVectorPath const&, QTransform const&, double)@Qt_5_PRIVATE_API'
        collect2: error: ld returned 1 exit status

        I m head cracking on this,even I did on raspberrypi3 board

        sudo apt-get update
        sudo apt-get upgrade
        sudo apt-get install mesa-utils

        sudo raspi-config
        Select 7 Advance Options
        A6 GL Drivers
        selected GL (Full KMS) Desktop Drivers
        Ok-> Finish->Reboot.
        My Screen went black with cursor blinking.

        Any other commands,that I can do to get support for this libQt5OpenGL...This is the only step I stuck to complete the things of my project

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #31

          Hm, I've never seen this error message, so I can only guess.

          Can you show build output (for Qwt) - I'd like to see at least one line calling the compiler and one line calling the linker. Need to know if all the compilation flags are correct.

          (Z(:^

          S 1 Reply Last reply
          0
          • sierdzioS sierdzio

            Hm, I've never seen this error message, so I can only guess.

            Can you show build output (for Qwt) - I'd like to see at least one line calling the compiler and one line calling the linker. Need to know if all the compilation flags are correct.

            S Offline
            S Offline
            shivaVMC
            wrote on last edited by
            #32

            @sierdzio

            /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile qwt.pro
            User@lattitude-3480:~/Downloads/QWT/qwt-6.1.3$ make -j4
            cd src/ && ( test -e Makefile || /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile /home/user/Downloads/QWT/qwt-6.1.3/src/src.pro ) && make -f Makefile
            make[1]: Entering directory '/home/user/Downloads/QWT/qwt-6.1.3/src'
            /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile src.pro
            compiling qwt_abstract_scale_draw.cpp
            compiling qwt_clipper.cpp
            compiling qwt_color_map.cpp
            compiling qwt_column_symbol.cpp
            compiling qwt_date_scale_draw.cpp
            compiling qwt_dyngrid_layout.cpp
            compiling qwt_event_pattern.cpp
            compiling qwt_graphic.cpp
            compiling qwt_interval_symbol.cpp
            compiling qwt_magnifier.cpp
            compiling qwt_null_paintdevice.cpp
            compiling qwt_painter.cpp
            compiling qwt_painter_command.cpp
            compiling qwt_panner.cpp
            compiling qwt_picker.cpp
            compiling qwt_picker_machine.cpp
            compiling qwt_round_scale_draw.cpp
            compiling qwt_scale_draw.cpp
            compiling qwt_spline.cpp
            compiling qwt_symbol.cpp
            compiling qwt_text_engine.cpp
            compiling qwt_text_label.cpp
            compiling qwt_text.cpp
            compiling qwt_widget_overlay.cpp
            compiling qwt_curve_fitter.cpp
            compiling qwt_abstract_legend.cpp
            compiling qwt_legend.cpp
            compiling qwt_legend_data.cpp
            compiling qwt_legend_label.cpp
            compiling qwt_plot.cpp
            compiling qwt_plot_renderer.cpp
            compiling qwt_plot_xml.cpp
            compiling qwt_plot_axis.cpp
            compiling qwt_plot_curve.cpp
            compiling qwt_plot_dict.cpp
            compiling qwt_plot_directpainter.cpp
            compiling qwt_plot_grid.cpp
            compiling qwt_plot_histogram.cpp
            compiling qwt_plot_item.cpp
            compiling qwt_plot_abstract_barchart.cpp
            compiling qwt_plot_barchart.cpp
            compiling qwt_plot_multi_barchart.cpp
            compiling qwt_plot_intervalcurve.cpp
            compiling qwt_plot_zoneitem.cpp
            compiling qwt_plot_tradingcurve.cpp
            compiling qwt_plot_spectrogram.cpp
            compiling qwt_plot_spectrocurve.cpp
            compiling qwt_plot_scaleitem.cpp
            compiling qwt_plot_legenditem.cpp
            compiling qwt_plot_seriesitem.cpp
            compiling qwt_plot_shapeitem.cpp
            compiling qwt_plot_marker.cpp
            compiling qwt_plot_textlabel.cpp
            compiling qwt_plot_layout.cpp
            compiling qwt_plot_canvas.cpp
            compiling qwt_plot_panner.cpp
            compiling qwt_plot_rasteritem.cpp
            compiling qwt_plot_picker.cpp
            compiling qwt_plot_zoomer.cpp
            compiling qwt_plot_magnifier.cpp
            compiling qwt_plot_rescaler.cpp
            compiling qwt_point_mapper.cpp
            compiling qwt_raster_data.cpp
            compiling qwt_matrix_raster_data.cpp
            compiling qwt_scale_widget.cpp
            compiling qwt_plot_svgitem.cpp
            compiling qwt_plot_glcanvas.cpp
            compiling qwt_abstract_slider.cpp
            compiling qwt_abstract_scale.cpp
            compiling qwt_arrow_button.cpp
            compiling qwt_analog_clock.cpp
            compiling qwt_compass.cpp
            compiling qwt_compass_rose.cpp
            compiling qwt_counter.cpp
            compiling qwt_dial.cpp
            compiling qwt_dial_needle.cpp
            compiling qwt_knob.cpp
            compiling qwt_slider.cpp
            compiling qwt_thermo.cpp
            compiling qwt_wheel.cpp
            moc qwt_dyngrid_layout.h
            moc qwt_magnifier.h
            moc qwt_panner.h
            moc qwt_picker.h
            moc qwt_text_label.h
            moc qwt_abstract_legend.h
            moc qwt_legend.h
            moc qwt_legend_label.h
            moc qwt_plot.h
            moc qwt_plot_renderer.h
            moc qwt_plot_canvas.h
            moc qwt_plot_panner.h
            moc qwt_plot_picker.h
            moc qwt_plot_zoomer.h
            moc qwt_plot_magnifier.h
            moc qwt_sampling_thread.h
            moc qwt_scale_widget.h
            moc qwt_plot_glcanvas.h
            moc qwt_abstract_slider.h
            moc qwt_abstract_scale.h
            moc qwt_analog_clock.h
            moc qwt_compass.h
            moc qwt_counter.h
            moc qwt_dial.h
            moc qwt_knob.h
            moc qwt_slider.h
            moc qwt_thermo.h
            moc qwt_wheel.h
            compiling moc/moc_qwt_dyngrid_layout.cpp
            compiling moc/moc_qwt_magnifier.cpp
            compiling moc/moc_qwt_panner.cpp
            compiling moc/moc_qwt_picker.cpp
            compiling moc/moc_qwt_text_label.cpp
            compiling moc/moc_qwt_abstract_legend.cpp
            compiling moc/moc_qwt_legend.cpp
            compiling moc/moc_qwt_legend_label.cpp
            compiling moc/moc_qwt_plot.cpp
            compiling moc/moc_qwt_plot_renderer.cpp
            compiling moc/moc_qwt_plot_canvas.cpp
            compiling moc/moc_qwt_plot_panner.cpp
            compiling moc/moc_qwt_plot_picker.cpp
            compiling moc/moc_qwt_plot_zoomer.cpp
            compiling moc/moc_qwt_plot_magnifier.cpp
            compiling moc/moc_qwt_sampling_thread.cpp
            compiling moc/moc_qwt_scale_widget.cpp
            compiling moc/moc_qwt_plot_glcanvas.cpp
            compiling moc/moc_qwt_abstract_slider.cpp
            compiling moc/moc_qwt_abstract_scale.cpp
            compiling moc/moc_qwt_analog_clock.cpp
            compiling moc/moc_qwt_compass.cpp
            compiling moc/moc_qwt_counter.cpp
            compiling moc/moc_qwt_dial.cpp
            compiling moc/moc_qwt_knob.cpp
            compiling moc/moc_qwt_slider.cpp
            compiling moc/moc_qwt_thermo.cpp
            compiling moc/moc_qwt_wheel.cpp
            rm -f libqwt.so.6.1.3 libqwt.so libqwt.so.6 libqwt.so.6.1
            linking ../lib/libqwt.so.6.1.3
            ln -s libqwt.so.6.1.3 libqwt.so
            ln -s libqwt.so.6.1.3 libqwt.so.6
            ln -s libqwt.so.6.1.3 libqwt.so.6.1
            rm -f ../lib/libqwt.so.6.1.3
            mv -f libqwt.so.6.1.3 ../lib/
            rm -f ../lib/libqwt.so
            rm -f ../lib/libqwt.so.6
            rm -f ../lib/libqwt.so.6.1
            mv -f libqwt.so ../lib/
            mv -f libqwt.so.6 ../lib/
            mv -f libqwt.so.6.1 ../lib/
            make[1]: Leaving directory '/home/user/Downloads/QWT/qwt-6.1.3/src'
            cd textengines/ && ( test -e Makefile || /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile /home/user/Downloads/QWT/qwt-6.1.3/textengines/textengines.pro ) && make -f Makefile
            make[1]: Entering directory '/home/user/Downloads/QWT/qwt-6.1.3/textengines'
            /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile textengines.pro
            make[1]: Nothing to be done for 'first'.
            make[1]: Leaving directory '/home/user/Downloads/QWT/qwt-6.1.3/textengines'
            cd doc/ && ( test -e Makefile || /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile /home/user/Downloads/QWT/qwt-6.1.3/doc/doc.pro ) && make -f Makefile
            make[1]: Entering directory '/home/user/Downloads/QWT/qwt-6.1.3/doc'
            /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile doc.pro
            make[1]: Nothing to be done for 'first'.
            make[1]: Leaving directory '/home/user/Downloads/QWT/qwt-6.1.3/doc'

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #33

              Oh, they are not printing the build commands in Qwt :-( Don't they have some verbose mode or something?

              If yes, please use it and paste the output here. If no, then please paste the beginning of Makefile that is produced - the section where all compilers and flags are set up.

              (Z(:^

              S 1 Reply Last reply
              1
              • sierdzioS sierdzio

                Oh, they are not printing the build commands in Qwt :-( Don't they have some verbose mode or something?

                If yes, please use it and paste the output here. If no, then please paste the beginning of Makefile that is produced - the section where all compilers and flags are set up.

                S Offline
                S Offline
                shivaVMC
                wrote on last edited by
                #34

                @sierdzio

                Beginning lines of Makefile are as below

                MAKEFILE = Makefile

                first: make_first
                QMAKE = /home/user/raspi_QtBuild/qt5/bin/qmake
                DEL_FILE = rm -f
                CHK_DIR_EXISTS= test -d
                MKDIR = mkdir -p
                COPY = cp -f
                COPY_FILE = cp -f
                COPY_DIR = cp -f -R
                INSTALL_FILE = install -m 644 -p
                INSTALL_PROGRAM = install -m 755 -p
                INSTALL_DIR = cp -f -R
                QINSTALL = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall
                QINSTALL_PROGRAM = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall -exe
                DEL_FILE = rm -f
                SYMLINK = ln -f -s
                DEL_DIR = rmdir
                MOVE = mv -f
                TAR = tar -cf
                COMPRESS = gzip -9f
                DISTNAME = qwt1.0.0
                DISTDIR = /home/user/Downloads/QWT/qwt-6.1.3/.tmp/qwt1.0.0
                SUBTARGETS =
                sub-src
                sub-textengines
                sub-doc

                sub-src-qmake_all: FORCE
                @test -d src/ || mkdir -p src/
                cd src/ && $(QMAKE) -o Makefile /home/user/Downloads/QWT/qwt-6.1.3/src/src.pro
                cd src/ && $(MAKE) -f Makefile qmake_all

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #35

                  It still does not list the compiler anywhere... look deeper :-) I'm basically trying to verify whether qmake is building for cross-compilation here or not. Because it should.

                  Look for CC = or CXX = or something.

                  (Z(:^

                  S 1 Reply Last reply
                  1
                  • sierdzioS sierdzio

                    It still does not list the compiler anywhere... look deeper :-) I'm basically trying to verify whether qmake is building for cross-compilation here or not. Because it should.

                    Look for CC = or CXX = or something.

                    S Offline
                    S Offline
                    shivaVMC
                    wrote on last edited by
                    #36

                    @sierdzio
                    This is the beginning of Makefile created by my PROJECT, when I pass below command
                    /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile PROJECT.pro

                    MAKEFILE = Makefile

                    ####### Compiler, tools and options

                    CC = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc
                    CXX = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
                    DEFINES = -DQWT_NO_SVG -DQWT_DLL -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB
                    CFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
                    CXXFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
                    INCPATH = -I. -Isrc -I/usr/local/qwt-6.1.3/include -I../../../../raspi_QtBuild/qt5pi/include -I../../../../raspi_QtBuild/qt5pi/include/QtPrintSupport -I../../../../raspi_QtBuild/qt5pi/include/QtSvg -I../../../../raspi_QtBuild/qt5pi/include/QtWidgets -I../../../../raspi_QtBuild/qt5pi/include/QtGui -I../../../../raspi_QtBuild/qt5pi/include/QtNetwork -I../../../../raspi_QtBuild/qt5pi/include/QtConcurrent -I../../../../raspi_QtBuild/qt5pi/include/QtCore -I. -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I. -I../../../../raspi/qt5/mkspecs/devices/linux-rpi3-g++
                    QMAKE = /home/user/raspi_QtBuild/qt5/bin/qmake
                    DEL_FILE = rm -f
                    CHK_DIR_EXISTS= test -d
                    MKDIR = mkdir -p
                    COPY = cp -f
                    COPY_FILE = cp -f
                    COPY_DIR = cp -f -R
                    INSTALL_FILE = install -m 644 -p
                    INSTALL_PROGRAM = install -m 755 -p
                    INSTALL_DIR = cp -f -R
                    QINSTALL = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall
                    QINSTALL_PROGRAM = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall -exe
                    DEL_FILE = rm -f
                    SYMLINK = ln -f -s
                    DEL_DIR = rmdir
                    MOVE = mv -f
                    TAR = tar -cf
                    COMPRESS = gzip -9f
                    DISTNAME = PROJECT1.0.0
                    DISTDIR = /home/user/Desktop/proj/raspi_proj/PROJECT_V_00.00.007/.tmp/PROJECT1.0.0
                    LINK = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
                    LFLAGS = -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/opt/vc/lib -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -Wl,-O1 -Wl,-rpath,/usr/local/qt5pi/lib
                    LIBS = $(SUBLIBS) -L=/opt/vc/lib -L/home/user/Desktop/proj/raspi_proj/PROJECT_V_00.00.007/lib -L/usr/local/qwt-6.1.3/lib -lqwt -L/home/user/raspi_QtBuild/qt5pi/lib -lQt5PrintSupport -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Concurrent -lQt5Core -L/home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf -lGLESv2 -lpthread
                    AR = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-ar cqs
                    RANLIB =
                    SED = sed
                    STRIP = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-strip

                    sierdzioS 1 Reply Last reply
                    0
                    • S shivaVMC

                      @sierdzio
                      This is the beginning of Makefile created by my PROJECT, when I pass below command
                      /home/user/raspi_QtBuild/qt5/bin/qmake -o Makefile PROJECT.pro

                      MAKEFILE = Makefile

                      ####### Compiler, tools and options

                      CC = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc
                      CXX = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
                      DEFINES = -DQWT_NO_SVG -DQWT_DLL -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB
                      CFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
                      CXXFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
                      INCPATH = -I. -Isrc -I/usr/local/qwt-6.1.3/include -I../../../../raspi_QtBuild/qt5pi/include -I../../../../raspi_QtBuild/qt5pi/include/QtPrintSupport -I../../../../raspi_QtBuild/qt5pi/include/QtSvg -I../../../../raspi_QtBuild/qt5pi/include/QtWidgets -I../../../../raspi_QtBuild/qt5pi/include/QtGui -I../../../../raspi_QtBuild/qt5pi/include/QtNetwork -I../../../../raspi_QtBuild/qt5pi/include/QtConcurrent -I../../../../raspi_QtBuild/qt5pi/include/QtCore -I. -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I. -I../../../../raspi/qt5/mkspecs/devices/linux-rpi3-g++
                      QMAKE = /home/user/raspi_QtBuild/qt5/bin/qmake
                      DEL_FILE = rm -f
                      CHK_DIR_EXISTS= test -d
                      MKDIR = mkdir -p
                      COPY = cp -f
                      COPY_FILE = cp -f
                      COPY_DIR = cp -f -R
                      INSTALL_FILE = install -m 644 -p
                      INSTALL_PROGRAM = install -m 755 -p
                      INSTALL_DIR = cp -f -R
                      QINSTALL = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall
                      QINSTALL_PROGRAM = /home/user/raspi_QtBuild/qt5/bin/qmake -install qinstall -exe
                      DEL_FILE = rm -f
                      SYMLINK = ln -f -s
                      DEL_DIR = rmdir
                      MOVE = mv -f
                      TAR = tar -cf
                      COMPRESS = gzip -9f
                      DISTNAME = PROJECT1.0.0
                      DISTDIR = /home/user/Desktop/proj/raspi_proj/PROJECT_V_00.00.007/.tmp/PROJECT1.0.0
                      LINK = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
                      LFLAGS = -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/opt/vc/lib -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/user/raspi_QtBuild/sysroot/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/home/user/raspi_QtBuild/sysroot -Wl,-O1 -Wl,-rpath,/usr/local/qt5pi/lib
                      LIBS = $(SUBLIBS) -L=/opt/vc/lib -L/home/user/Desktop/proj/raspi_proj/PROJECT_V_00.00.007/lib -L/usr/local/qwt-6.1.3/lib -lqwt -L/home/user/raspi_QtBuild/qt5pi/lib -lQt5PrintSupport -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Concurrent -lQt5Core -L/home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf -lGLESv2 -lpthread
                      AR = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-ar cqs
                      RANLIB =
                      SED = sed
                      STRIP = /home/user/raspi_QtBuild/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-strip

                      sierdzioS Offline
                      sierdzioS Offline
                      sierdzio
                      Moderators
                      wrote on last edited by
                      #37

                      @shivaVMC said in Qwt from Windows to Linux Porting:

                      This is the beginning of Makefile created by my PROJECT, when I pass below command

                      Ooops I misunderstood :-) I thought you had errors when compiling Qwt, but now I see you have them when compiling your project. OK.

                      Compiler setup looks OK.

                      So you have everything correctly cross-compiled but still it complains about:

                      /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
                      
                      /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `qTriangulate(QVectorPath const&, QTransform const&, double)@Qt_5_PRIVATE_API'
                      

                      Hm :-/ I'm out of ideas to be honest. Looks like Qt has disabled some part of the code, or there is ABI mismatch but both these possibilities seem weird.

                      (Z(:^

                      S 1 Reply Last reply
                      0
                      • sierdzioS sierdzio

                        @shivaVMC said in Qwt from Windows to Linux Porting:

                        This is the beginning of Makefile created by my PROJECT, when I pass below command

                        Ooops I misunderstood :-) I thought you had errors when compiling Qwt, but now I see you have them when compiling your project. OK.

                        Compiler setup looks OK.

                        So you have everything correctly cross-compiled but still it complains about:

                        /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
                        
                        /home/user/raspi_QtBuild/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5: undefined reference to `qTriangulate(QVectorPath const&, QTransform const&, double)@Qt_5_PRIVATE_API'
                        

                        Hm :-/ I'm out of ideas to be honest. Looks like Qt has disabled some part of the code, or there is ABI mismatch but both these possibilities seem weird.

                        S Offline
                        S Offline
                        shivaVMC
                        wrote on last edited by
                        #38

                        @sierdzio

                        Yeah,everything correctly cross-compiled but still it complains OpenGL issue.
                        So,next what How shall I proceed ?
                        Any alternate solution for this bug.

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #39

                          Hi,

                          Might be a silly question but are you sure you are using the same Qt version of building your application that was used to build Qwt ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          1

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved