Home > Mobile >  Qt transplant library path problems in the development board
Qt transplant library path problems in the development board

Time:11-28

5.6 running on board is no problem, as shown in figure

On the left is qt5.6, right is qt5.9
Feeling is error which file or path problem, the same transplant qt5.12 is
this issue
Want to mention here, the development board own qt libraries, transplantation is on the development board I create a new folder then configure paths,
Qt5.9 library directly before loading the development board's own repository can be run,

CodePudding user response:

This problem is solved, although I don't know why, this is found on the development board/usr/lib and/usr/lib32 files deleted, but development board after delete login don't go in here, the development board.lib file copy lib folder into the mount, can run normally,
This period of time has been drummed up qt transplantation and upgrade was finished,
Complete novice, although this problem is resolved, but I don't know why do normal operation can solve the problem, hope to see some bigwigs after answer doubt dispels doubts

CodePudding user response:

You mean is the 5.6 qmake no problem with the board, with 5.9 qmake program will go wrong? See the error message is shader without creating a successful and shader create failure with graphics, normally you system at the/usr/lib/usr/lib32 and delete, and then to mount to/usr/lib, just delete the 32-bit libraries, won't make you solve the problem, you see Qt call library is under/usr/lib library or your own definition of library

CodePudding user response:

refer to the second floor Mayo_ response:
what do you mean with the board's own 5.6 qmake no problem, use 5.9 qmake program will go wrong? See the error message is shader without creating a successful and shader create failure with graphics, normally you system at the/usr/lib/usr/lib32 and delete, and then to mount to/usr/lib, just delete the 32-bit libraries, will not allow you to solve the problem, you see Qt call library is under/usr/lib library or your own definition of library


I qt application is more than 5.7, so at this time if the qt call is 5.6 will go wrong,
I was deleted/usr/lib/usr/lib32 two libraries, then mount is my new mount 5.9 library,
Mentioned above is my try another case, as I put 5.9 library copy into the/usr/lib, just because the space is not so with the development board mounted file and change the path,

I suspect the original/usr/lib here are library and normal operation of the whole system, the main problem is to use the root did not enter development board terminal, permissions are affected?
  •  Tags:  
  • Qt
  • Related