Home > other >  <with information, not for Qt5Guid DLL loading any symbol>
<with information, not for Qt5Guid DLL loading any symbol>

Time:09-20

To help you a great god, used on VS2013 Qt, in the use of the UI. QLabel - & gt; SetPixmap (QPixmap: : fromImage (img)) when abnormal & lt; With information, not for Qt5Guid. DLL loading any symbol & gt; And this is what's going on?

CodePudding user response:

Problem description is more comprehensive, so look not to come out to everyone

CodePudding user response:

QString fileName=QFileDialog: : getOpenFileName (this, tr (" please select a picture "), "E:", tr (" BMP file (* BMP) ")); Mat mainMat=imread (fileName. ToStdString ()); QImage image=QImage (const unsigned char *) (newMat. Data), newMat. The cols, newMat. Rows, newMat. Step, QImage: : Format_RGB888); QImage image=MatImageToQImage (mainMat); QPixmap * pixmap=QPixmap: : fromImage (image); In QImage image=QImage (const unsigned char *) (newMat. Data), newMat. The cols, newMat. Rows, newMat. Step, QImage: : Format_RGB888); Convert this sentence when abnormal unable to for Qt5cored. The DLL is loaded any symbol?

CodePudding user response:

Write wrong

CodePudding user response:

Write wrong QString fileName=QFileDialog: : getOpenFileName (this, tr (" please select a picture "), "E:", tr (" BMP file (* BMP) ")); Mat newMat=imread (fileName. ToStdString ()); QImage image=QImage (const unsigned char *) (newMat. Data), newMat. The cols, newMat. Rows, newMat. Step, QImage: : Format_RGB888); QPixmap * pixmap=QPixmap: : fromImage (image); In QImage image=QImage (const unsigned char *) (newMat. Data), newMat. The cols, newMat. Rows, newMat. Step, QImage: : Format_RGB888); Convert this sentence when abnormal unable to for Qt5cored. The DLL is loaded any symbol?

CodePudding user response:

Is solved, the original QImage shallow copy of the problem

CodePudding user response:

How to solve can say clear point? thank you

CodePudding user response:

Hello, can you specifically to is how to solve?
  • Related