Opened 12 years ago

Closed 12 years ago

#686 closed defect/bug (fixed)

QX11EmbedContainer does not work with Navit

Reported by: lostincompilation Owned by: KaZeR
Priority: minor Milestone:
Component: core Version: git master
Severity: Keywords: qt_printer


Embeding Navit using the QX11EmbedContainer feature fails. A blank window is displayed instead of navit.

You may want to review and apply this patch

Bugfix: ### Eclipse Workspace Patch 1.0 #P Navit Index: navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp =================================================================== --- navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp (Revision 3625) +++ navit/navit/graphics/qt_qpainter/graphics_qt_qpainter.cpp (Arbeitskopie) @@ -1042,11 +1042,11 @@

_outerWidget->setLayout(_outerLayout); _outerLayout->addWidget(this_->widget); _outerLayout->setCurrentWidget(this_->widget);

  • _outerWidget->show();

xid=getenv("NAVIT_XID"); if (xid.length()>0) {

  • _outerWidget->embedInto(xid.toULong(&ok,0));

+ _outerWidget->embedInto(xid.toULong(&ok,10));


+ _outerWidget->show();


if (this_->w && this_->h)


Change History (2)

comment:1 Changed 12 years ago by woglinde


please resend your patch with svn diff. So its unreadble and it can be applied fast.

Bye Henning

comment:2 Changed 12 years ago by woglinde

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.