[SOLVED] Error in NCReport for Qt 5.1.1 minGW
-
Hi,
Where is your NCReport2 stuff located ?
-
ok, removing quotes i get another error
@Starting C:\test\build-testncreport-Qt_5_1_1_MinGW_32_bit_MinGW_4_8_32bit-Debug\debug\testncreport.exe...
QObject: Cannot create children for a parent that is in a different thread.
(Parent is MainWindow(0x22fe1c), parent's thread is QThread(0x128ee210), current thread is QThread(0x12927130)
QPrinter: Must construct a QApplication before a QPaintDevice
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
C:\test\build-testncreport-Qt_5_1_1_MinGW_32_bit_MinGW_4_8_32bit-Debug\debug\testncreport.exe exited with code 3@ -
What does your main.cpp look like ?
-
What happens if you don't pass the parent to when creating a NCReport ?
-
i'm no longer getting the ealier error ,
now i get this error
@Starting C:\test\build-testncreport-Desktop_Qt_5_1_1_MinGW_32bit-Debug\debug\testncreport.exe...
The program has unexpectedly finished.
C:\test\build-testncreport-Desktop_Qt_5_1_1_MinGW_32bit-Debug\debug\testncreport.exe exited with code -1073741515@ -
You need to run your application with a debugger to see where the error is triggered
-
This is a library not found error, do you have the NCReport dll somewhere in your PATH ?
If not, got to the Run panel and update the PATH environment variable adding the path to the folder where that dll can be found.
-
No, you don't escape the backslashes in your path. You either have to to that or since your using Qt, use forward slashes.