Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39779

qt vs2008 project link .net framework 3.5 lib can not support drap and drop .it also will crash when project use control qwebview.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.2.1
    • WebKit
    • None
    • win7 64 vs2008

    Description

      i create a lib project HanZiToPinYin that use clr ,i create another project dragToWebView .
      In file main.cpp of project dragToWebView i use HanZiToPinYin function :
      1 #include "dragtowebview.h"
      2 #include <QtWidgets/QApplication>
      3 #include "HanZiToPinYin.h"
      4 int main(int argc, char *argv[])
      5

      { 6 CHanZiToPinYin::HanZiToPinYin(); 7 QApplication a(argc, argv); 8 dragToWebView w; 9 w.show(); 10 return a.exec(); 11 }

      In file dragtowebview.cpp
      21 #include "dragtowebview.h"
      22 #include <QHBoxLayout>
      23 #include "msgInputEdit.h"
      24
      25 dragToWebView::dragToWebView(QWidget *parent)
      26 : QMainWindow(parent)
      27

      { 28 ui.setupUi(this); 29 m_pMsgInputEdit= new CMsgInputEdit(ui.centralWidget); 30 QHBoxLayout*pLayOut = new QHBoxLayout ; 31 pLayOut->addWidget(m_pMsgInputEdit); 32 pLayOut->setContentsMargins(2,2,2,2); 33 ui.centralWidget->setLayout(pLayOut);/* */ 34 35 }

      my issues is :
      if i remove the code in line 6 and 29~33.then the dragToWebView project has no problem .and i can drag a file to mainwindow.bug if i use the code of line 6,then the mainwindow of dragToWebView project can not support drag and drop .
      if i use the code of 29~33.the project crash,output message is :
      guardPage.Protect & PAGE_GUARD
      it crash in wtf of webket.
      i build the qt source with attach stackbound_new.zip which in bug :
      https://bugreports.qt-project.org/browse/qtBUG-38067
      and
      https://codereview.qt-project.org/#change,86137
      but the problem also exist.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              wearilybird yunwang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes