Jump to content


Qt 4.8 released


  • Please log in to reply
47 replies to this topic

#1 Kenn Sebesta

Kenn Sebesta

    Controls Master!

  • Members
  • PipPipPip
  • 896 posts
  • Country: flag of Luxembourg Luxembourg


Posted 15 December 2011 - 02:49 PM

Qt 4.8 has been released. It would be nice to know if anyone has compile issues with OpenPilot. Unfortunately, Mac Lion seems not to be able to compile GCS with Qt 4.7, so there's going to be pressure to switch to 4.8 moving forward.

http://labs.qt.nokia...4-8-0-released/

Don't forget to get Qt Library instead of Qt SDK for getting qmake and all the necessary stuff for compiling.

#2 dankers

dankers

    Janitor

  • Administrators
  • 5125 posts
  • Country: flag of Australia Australia


Posted 15 December 2011 - 03:09 PM

Change list: https://qt.gitorious...t/changes-4.8.0

#3 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 17 December 2011 - 09:27 AM

Tried in windows, GLC doesn't seem to like it.


d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_camera.cpp:
441: error: 'gluLookAt' was not declared in this scope
mingw32-make[7]: *** [release/glc_camera.o] Error 1
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p: In member function 'void GLC_Viewport::updateProjectionMat()':
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p:155: error: 'gluPerspective' was not declared in this scope
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p: In member function 'GLC_Point3d GLC_Viewport::unProject(int, int) const':
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p:227: error: 'gluUnProject' was not declared in this scope
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p: In member function 'QList<GLC_Vector3d> GLC_Viewport::unproject(const QList<i
nt>&) const':
d:/OP/opgit/os_gcs/ground/openpilotgcs/src/libs/glc_lib/viewport/glc_viewport.cp
p:254: error: 'gluUnProject' was not declared in this scope


#4 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 17 December 2011 - 01:07 PM

View PostSambas, on 17 December 2011 - 09:27 AM, said:

Tried in windows, GLC doesn't seem to like it.
James did something already in July:
http://forums.openpi...l-oss-with-480/

#5 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 17 December 2011 - 02:28 PM

ok got it compiled after installing glut and made those changes. GCS runs but scopes and modelview doesn't work.

#6 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4112 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 17 December 2011 - 10:03 PM

Yeah I disabled the ModelView plugin on mac about 6 months back :(  Hrrhrr has something based on Quick3D workign but hasn't integrated that into our build tree.

#7 Malx

Malx

    Key Member

  • Members
  • PipPipPip
  • 313 posts
  • Country: flag of Sweden Sweden


Posted 18 December 2011 - 09:52 AM

I started to look at it as well but I came to the conclusion that it's best to wait for the SDK anyway. Not much point in moving to the 4.8.0 for windows and linux while it means that it's harder to setup a good dev. environment.

How good is Quick3D? Is it a full replacement?

#8 osnwt

osnwt

    Core Developer

  • Administrators
  • 1499 posts
  • LocationSevastopol
  • Country: flag of Ukraine Ukraine


Posted 19 December 2011 - 12:46 PM

View Postpeabody124, on 17 December 2011 - 10:03 PM, said:

Hrrhrr has something based on Quick3D workign but hasn't integrated that into our build tree.
And unfortunately hasn't responded to our questions :(

#9 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 19 December 2011 - 04:28 PM

Seems like I don't have problem with modelview, just enabled and compiled. ScopePlugin segfaults at start when trying to run debug. Disabling it makes GCS run just fine. I have no idea why it fails, runs with 4.7.x

Posted Image

#10 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 06 January 2012 - 08:19 AM

Has anyone else tried this? I don't know why scopeplugin fails and debugger doesn't give any helpful hints.

#11 dwillis

dwillis

    Developer

  • Members
  • PipPipPip
  • 59 posts
  • LocationEdinburgh
  • Country: flag of United Kingdom United Kingdom


Posted 06 January 2012 - 05:11 PM

For what it's worth, the android port I'm working on uses Qt 4.8. Once it actually runs beyond dumping the help text to the console, hopefully I can check the scopes plugin. I currently have modelview disabled in all my platforms' builds...

#12 dankers

dankers

    Janitor

  • Administrators
  • 5125 posts
  • Country: flag of Australia Australia


Posted 06 January 2012 - 05:52 PM

Bani did the scopes plugin, I sent him a PM about this thread. I also asked we upgrade our QWT to the latest but we might already be on it.

#13 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 08 January 2012 - 10:26 AM

pushed sambas/qwt_6.0.1_upgrade but sadly it doesn't fix scopes in qt-4.8.0 and windows. 4.7.x works.

#14 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1211 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 08 January 2012 - 11:51 AM

Don't know if it's related or not but that plugin builds to a not working dll on some systems, I have seen this on a friends PC and also read something here on the forums (something about bad memory address). I had a quick look searching for missing import/export declarations but couldn't find any.
Life is just a game, but atleast the graphics are awesome!

#15 naiiawah

naiiawah

    Core Developer

  • Members
  • PipPipPip
  • 309 posts
  • LocationNorthwest USA
  • Country: flag of United States United States


Posted 09 January 2012 - 03:04 AM

View PostPT_Dreamer, on 08 January 2012 - 11:51 AM, said:

Don't know if it's related or not but that plugin builds to a not working dll on some systems, I have seen this on a friends PC and also read something here on the forums (something about bad memory address). I had a quick look searching for missing import/export declarations but couldn't find any.
James has that pluggin turned off on Mac OSx builds I believe due to instability issues.

#16 Sambas

Sambas

    Core Developer

  • Core Team
  • PipPipPip
  • 244 posts
  • Country: flag of Finland Finland


Posted 27 February 2012 - 11:43 AM

patch for next, enable notify and modelview for windows with qt 4.8.0 also

Attached Files



#17 glikar

glikar

    Advanced Member

  • Validating
  • PipPipPip
  • 103 posts
  • Country: flag of Canada Canada

Posted 27 February 2012 - 07:20 PM

Installed it in Ubuntu, had to because gcs wouldn't compile without it at one point, worked great.   It disappeared last time I did a  git pull, but gcs still compiles??  Still trying to understand git.

#18 dankers

dankers

    Janitor

  • Administrators
  • 5125 posts
  • Country: flag of Australia Australia


Posted 27 February 2012 - 08:21 PM

The Linux problems with ModelView are for sure graphics related, I have it now working on my old laptop on x64 with the nvidia binary drivers, I really think it should be re-enabled there as there is no problem if your graphics drivers are up to date.

#19 peabody124

peabody124

    Crash Dummy

  • Administrators
  • 4112 posts
  • LocationHouston, TX
  • Country: flag of United States United States


Posted 28 February 2012 - 03:44 AM

Well in the last testing release we had some reports of that crash.  My vote is leave it disabled if it even crashes for 1/10 users.  That feature isn't needed but the ability to configure the FC is.

#20 DonaldVH

DonaldVH

    Member

  • Members
  • PipPip
  • 17 posts
  • Country: flag of Belgium Belgium

Posted 26 March 2012 - 08:40 PM

Hello everyone,

Since starting new topics might not be taken kindly I took the effort to find this thread...

Context of this post to me anyhow is that I want to build on windows (windows xp 32bit) clean windows install, and given the instructions, I set upon installing the next phase, after
-Git
-CodeSourcery
-Python2.7
- and the QT ...

Since the indications in the wiki indicate that I will probably be better of installing QT4.8, I am trying to do just that.

However when at 59% progression into the installation, "Installing component USB Network Driver"
an "Installation Error" occurs :
"Error during installation process (com.nokia.ndk.tools.madde.usbdriver):
Execution failed(Unexpected exit code:-2147418112):"C:
\QtSDK\Madde\usbdriver\DPInst.exe /SE /SA /SW" "

... this happened with the online and the offline links in the wiki being :
http://wiki.openpilo...ding on Windows
--> http://qt.nokia.com/...sdk-windows-cpp
--> http://qt.nokia.com/...ows-cpp-offline

With the offline install link I attempted to pick the 4.7 version, but with same error for usb.

Also given that not everybody has unlimited bandwidth available at home I thought I would mention this.

At this point I am in panick mode because I am not sure wheter this would play nice with GCS and the HID type of device the coptercontrol module enumerates to.

This may as well have something to do with nokia doing some extreme alpha releasing ( did not dig into this use case )

Thanks for any pointers and hope to contribute when possible.