2010-05-19T03:08:15 *** yuguess has joined #opticks 2010-05-19T03:20:43 *** yuguess has quit IRC 2010-05-19T05:06:26 *** goffena has quit IRC 2010-05-19T05:37:52 *** goffena has joined #opticks 2010-05-19T05:51:25 *** dsulgrov has joined #opticks 2010-05-19T05:57:47 *** kstreith has quit IRC 2010-05-19T05:59:09 *** kstreith has joined #opticks 2010-05-19T05:59:09 *** ChanServ sets mode: +o kstreith 2010-05-19T06:25:57 *** yuguess has joined #opticks 2010-05-19T06:26:05 hello, sir 2010-05-19T06:26:09 hello 2010-05-19T06:28:58 I have some problems in compiling the Qt VS2005 2010-05-19T06:29:06 *** tclarke has joined #opticks 2010-05-19T06:29:06 *** ChanServ sets mode: +o tclarke 2010-05-19T06:29:18 en, how can I add that moc_* file into the project 2010-05-19T06:29:31 I could sucessfully compile my Qt files 2010-05-19T06:29:32 we generally create a new folder in the project (called a Filter in visual studio) 2010-05-19T06:30:43 then add the moc_ file. 2010-05-19T06:30:49 you need to manually compile the .h first 2010-05-19T06:30:53 right click on it and select compile 2010-05-19T06:31:04 then add an existing file and locate it (location is in the moc.exe custom build step) 2010-05-19T06:31:21 once the moc_*.cpp files are added, everything will automatically build when you build your project 2010-05-19T06:31:21 . 2010-05-19T06:32:49 Ok, let me try it 2010-05-19T06:41:34 Oh, meet another problem, how can I generate that moc_* file ? 2010-05-19T06:41:50 if you look at PlugInSamplerQt.vcproj in a text editor you will see 2010-05-19T06:41:59 actually, I build up the Qt environment in windows with mingw 2010-05-19T06:42:08 but you basically do: 2010-05-19T06:43:29 moc.exe [path to .h] -o [path to where to generate moc_*] file 2010-05-19T06:43:31 you built Qt yourself? 2010-05-19T06:43:49 en, I used Qt in Linux before : ) 2010-05-19T06:44:21 i'm going to recommend you not built Qt yourself 2010-05-19T06:45:34 we've had other people try in the past 2010-05-19T06:45:39 and it usually causes more problems that it solves 2010-05-19T06:45:45 Oh, I already did 2010-05-19T06:45:51 you can grab our Qt binary using "dependencies.py Qt" 2010-05-19T06:46:18 yuguess, if you put your source and visual studio files up on GitHub 2010-05-19T06:46:27 we can take a look at them and probably provide some better pointers on integrating Qt 2010-05-19T06:48:03 i am concerned about a mingw compile of Qt integrating with Opticks 2010-05-19T06:48:09 because we actually distribute a Visual C++ compile of Opticks 2010-05-19T06:48:13 and that is the one your plug-in will use at run-time 2010-05-19T06:48:14 Oh, I think I should use binaries in you dependencies folder, mine is compiled with gcc 2010-05-19T06:48:18 and I'm not sure they are ABI compatible 2010-05-19T06:50:05 I actually have two version of moc.exe, one is compiled with MS compiler(cl), the other is compiled with gcc 2010-05-19T06:50:17 shouldn't matter for moc, it just generates a moc_*.cpp as output and then is never used again 2010-05-19T06:50:29 i'm more worried about the one you compile and link against 2010-05-19T06:52:26 this website provides the steps to get moc integrated into Visual Studio project: 2010-05-19T06:52:26 http://ldmartin68.com/QTSetup4VSNET.html 2010-05-19T06:53:59 I have added your Qt compile setting(Qt.vsprops, Qt-debug.vsprops) into my project 2010-05-19T06:54:12 good 2010-05-19T07:45:35 Hello, may I know how do you usually generate that moc* files from the Qt files 2010-05-19T07:47:10 I use moc.exe in windows command line and add some parameter like -I"$OPTICKSDEPENDENCIES/Qt/include" 2010-05-19T07:49:05 we do something like: moc.exe "C:\foo\mydialog.h" -o "C:\foo\moc_mydialog.cpp" 2010-05-19T07:49:23 http://ldmartin68.com/QTSetup4VSNET.html 2010-05-19T07:49:29 details essentially want we do to get moc.exe and Visual Studio to play nice with each other 2010-05-19T09:10:57 *** rforehan has joined #opticks 2010-05-19T10:40:18 *** mconsidi has quit IRC 2010-05-19T12:19:31 *** mconsidi has joined #opticks 2010-05-19T13:43:32 New news from nightlybuilds: Opticks4.4Dev-Nightly-Linux #16 (SUCCESS) 2010-05-19T13:50:23 *** dsulgrov has quit IRC 2010-05-19T13:54:41 *** tclarke has quit IRC 2010-05-19T17:19:37 *** dadkins has quit IRC 2010-05-19T17:20:58 *** yuguess has quit IRC 2010-05-19T17:20:58 *** goffena has quit IRC 2010-05-19T17:21:26 *** yuguess has joined #opticks 2010-05-19T17:21:26 *** goffena has joined #opticks 2010-05-19T17:21:28 *** yuguess has quit IRC 2010-05-19T17:21:34 *** dadkins has joined #opticks 2010-05-19T20:14:06 *** Lonzo has joined #opticks 2010-05-19T20:17:25 *** Lonzo has quit IRC 2010-05-19T22:15:46 *** rforehan has quit IRC 2010-05-19T22:16:11 *** rforehan has joined #opticks 2010-05-19T23:12:19 *** rforehan has quit IRC 2010-05-19T23:12:30 *** rforehan has joined #opticks