point_labeler icon indicating copy to clipboard operation
point_labeler copied to clipboard

Portability on Windows OS

Open jingyibo123 opened this issue 6 years ago • 6 comments

Hi everyone,

First of all, congratulations on the great work and many thanks for sharing it!

The question is in the topic: could anyone elaborate on the portability on Windows?

jingyibo123 avatar Jan 08 '20 10:01 jingyibo123

I cannot say anything about Windows. From a dependency side, I don't use very exotic stuff; thus, I expect that it should be possible. (But I never tried.)

Let me know if you manage to get it build under Windows.

jbehley avatar Jan 08 '20 22:01 jbehley

Hello,

Thank you for putting at disposition this powerfool tool!

I was wondering if are there any updates regarding the build on Windows? I have tried yet encountered some issues with catkin.

Thanks in advance

ncamous avatar Mar 26 '20 09:03 ncamous

catkin is only used to get the dependencies (mainly glow); you can also install everything and just use CMake to build it. But I never tried it under windows.

jbehley avatar Mar 26 '20 11:03 jbehley

I was able to compile both glow and point_labeler on Windows10 64 bit with mingw64, with mostly cmake adaptation and compeletion, BUT with mingw64 7.3.0 and Qt5.13 the labeler is showing weird layout (image below)

webwxgetmsgimg

After switching to vs2013 and the layout becomes correct.. Seems like there's an issue of Qt between different compiler versions

jingyibo123 avatar Mar 30 '20 08:03 jingyibo123

plabeler_ui1

I build them with mingw64 but still, the large margin on top exists, I reckon it could be the QGLWidget related problem, since this class was depreciated for a while, I'll try to build it against QT 5.3 or earlier version to see if it works.

rancheng avatar Apr 19 '20 16:04 rancheng

horizontal_plabeler

When I change the layout outside the mViewPortXYZ into QHBoxLayout, it immediately shift the margin to the left...

<layout class="QVBoxLayout" name="horizontalLayout">
    <item>
     <layout class="QHBoxLayout" name="verticalLayout">
      <item>
       <widget class="Viewport" name="mViewportXYZ" native="true">
        <property name="sizePolicy">
         <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">

rancheng avatar Apr 19 '20 16:04 rancheng